/* Contributed by Nicola Pero , December 2010. */ /* { dg-do compile } */ /* Test that you get a warning when an unknown class attribute is ignored. */ #include __attribute__ ((unknown_attribute)) @interface MyClass /* { dg-warning "ignored" } */ { Class isa; } + (id) new; @end