Debian Codegraph @

gcc/testsuite/g++.dg/parse/asm3.C

raw
1 //PR c++/30851
2
3 void foo()
4 {
5 asm ("%[x]" : [0](x)); // { dg-error "numeric constant|token" }
6 // { dg-error "string-literal" "" { target *-*-* } .-1 }
7 }