annotate gcc/testsuite/gcc.dg/Wattributes-5.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* { dg-do compile } */
kono
parents:
diff changeset
2 /* { dg-options -Wattributes } */
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 void __attribute__((_foobar)) foo() { } /* { dg-warning "attribute directive ignored" } */
kono
parents:
diff changeset
5 void __attribute__((_xformat__)) foo2() { } /* { dg-warning "attribute directive ignored" } */
kono
parents:
diff changeset
6 void __attribute__((xformat__)) foo3() { } /* { dg-warning "attribute directive ignored" } */
kono
parents:
diff changeset
7 void __attribute__((__xformat)) foo4() { } /* { dg-warning "attribute directive ignored" } */
kono
parents:
diff changeset
8 void __attribute__((_)) foo5() { } /* { dg-warning "attribute directive ignored" } */
kono
parents:
diff changeset
9 void __attribute__((_)) foo6() { } /* { dg-warning "attribute directive ignored" } */
kono
parents:
diff changeset
10 void __attribute__((__)) foo7() { } /* { dg-warning "attribute directive ignored" } */
kono
parents:
diff changeset
11 void __attribute__((___)) foo8() { } /* { dg-warning "attribute directive ignored" } */
kono
parents:
diff changeset
12 void __attribute__((____)) foo9() { } /* { dg-warning "attribute directive ignored" } */
kono
parents:
diff changeset
13 void __attribute__((_____)) foo10() { } /* { dg-warning "attribute directive ignored" } */