aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/g++.dg/ext/no-asm-1.C
blob: e41ebbefcd84baf32c872fa6b3ded038541a79d5 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do compile }
// { dg-options "" }

// Verify that asm and the GNU extension typeof are recognized as
// keywords.

int asm;	// { dg-error "before .asm." }
int typeof;	// { dg-error "expected" "expected" }
// { dg-error "multiple types" "multiple" { target *-*-* } 8 }
// { dg-error "declaration" "declaration" { target *-*-* } 8 }