summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/asm1.C
blob: 009ffbd3ad3534982a95a36a1506df0d03b5abb3 (plain)
1
2
3
4
5
6
//PR c++/30849

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