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