Debian Codegraph @

gcc/testsuite/g++.dg/ext/no-asm-1.C

raw
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" "expected" }
9 // { dg-error "multiple types" "multiple" { target *-*-* } .-1 }
10 // { dg-error "declaration" "declaration" { target *-*-* } .-2 }