1 /* PR middle-end/56167 */
2 /* { dg-do compile } */
4 extern void foo (void) __attribute__ ((error (0))); /* { dg-warning "attribute ignored" } */
5 extern void bar (void) __attribute__ ((warning (0))); /* { dg-warning "attribute ignored" } */
6 int var
__attribute__ ((error ("foo"))); /* { dg-warning "attribute ignored" } */