OSDN Git Service

2009-07-17 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / ext / no-asm-1.C
1 // { dg-do compile }
2 // { dg-options "" }
3
4 // Verify that asm and the GNU extension typeof are recognized as
5 // keywords.
6
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 }