summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/asm9.C
blob: 9daa01bbf5f9d27dde5d291340f209f97be9ff95 (plain)
1
2
3
4
5
6
7
// PR 27451
// { dg-do compile }

void foo()
{
  asm("" ::: X); // { dg-error "before" }
}