1 /* Test that we get warnings for unrecognized attributes. */
2 /* { dg-do compile } */
10 /* TODO: Emit warnings in the @interface as well. Currently we only emit
11 them in @implementation. */
12 + (id) method1: (id) __attribute__ ((xxxxx)) argument1;
13 + (id) method2: (id) __attribute__ ((noinline)) argument1;
16 @implementation MyRootClass
17 + (id) method1: (id) __attribute__ ((xxxxx)) argument1 /* { dg-warning ".xxxxx. attribute directive ignored" } */
21 + (id) method2: (id) __attribute__ ((noinline)) argument1 /* { dg-warning ".noinline. attribute ignored" } */