Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / ext / attrib18.C
blob0c3a072b5b36ad867b28f0b9a160df22309d5628
1 // PR c++/17542
2 // Test that we warn when an attribute preceding the class-key is ignored.
3 // { dg-do compile }
5 __attribute__ ((packed)) struct A
6 {                               // { dg-warning "attribute" }
7   char c;
8   int x;
9   void f();