summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/asm1.C
blob: 87edbe1641ddf0f781925b15052f40b06cdcfa20 (plain)
1
2
3
4
5
6
// { dg-do assemble  }
// Origin: Mark Mitchell <mark@codesourcery.com>

struct S {
  int i asm ("abc"); // { dg-error "" } `asm' specifier not permitted 
};