summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/asm3.C
blob: 91f19e48cd5a180c49c7622daefbc39942377b32 (plain)
1
2
3
4
5
6
//PR c++/30851

void foo()
{
  asm ("%[x]" : [0](x));  // { dg-error "numeric constant|token" }
}