2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / ext / no-asm-1.C
blob6c4c20439591660d14b0b7e5e17f6fbcd419be22
1 // { dg-do compile }
2 // { dg-options "" }
4 // Verify that asm and the GNU extension typeof are recognized as
5 // keywords.
7 int asm;        // { dg-error "before .asm." }
8 int typeof;     // { dg-error "expected" }
9 // { dg-error "multiple types" "" { target *-*-* } 8 }
10 // { dg-error "declaration" "" { target *-*-* } 8 }