1 // Test that attributes work in a variety of situations.
5 #define attrib __attribute ((mode (QI)))
7 attrib signed int a; // attributes before type are broken
8 static attrib unsigned int b;
10 int foo(attrib int o) // attribute arguments are broken
12 return (sizeof (a) != 1
15 || sizeof ((attrib signed int) b) != 1);