1 /* { dg-do compile } */ 2 /* { dg-options -Wattributes } */ 3 foo()4void __attribute__((_foobar)) foo() { } /* { dg-warning "attribute directive ignored" } */ foo2()5void __attribute__((_xformat__)) foo2() { } /* { dg-warning "attribute directive ignored" } */ foo3()6void __attribute__((xformat__)) foo3() { } /* { dg-warning "attribute directive ignored" } */ foo4()7void __attribute__((__xformat)) foo4() { } /* { dg-warning "attribute directive ignored" } */ foo5()8void __attribute__((_)) foo5() { } /* { dg-warning "attribute directive ignored" } */ foo6()9void __attribute__((_)) foo6() { } /* { dg-warning "attribute directive ignored" } */ foo7()10void __attribute__((__)) foo7() { } /* { dg-warning "attribute directive ignored" } */ foo8()11void __attribute__((___)) foo8() { } /* { dg-warning "attribute directive ignored" } */ foo9()12void __attribute__((____)) foo9() { } /* { dg-warning "attribute directive ignored" } */ foo10()13void __attribute__((_____)) foo10() { } /* { dg-warning "attribute directive ignored" } */ 14