OSDN Git Service

2012-06-14 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / ext / no-gnu-keywords-1.C
1 // { dg-do compile }
2 // { dg-options "-fno-gnu-keywords" }
3
4 // Verify that the keyword asm is recognized and that the GNU
5 // extension typeof is not recognized as a keyword when using
6 // -fno-gnu-keywords.
7
8 int asm;        // { dg-error "before .asm." }
9 int typeof;     // { dg-bogus "before .typeof." }