summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/g++.old-deja/g++.other/asm1.C
blob: b7065d759f2065593d0c32f18bb3f73b94108468 (plain)
1
2
3
4
5
6
// Build don't link:
// Origin: Mark Mitchell <mark@codesourcery.com>

struct S {
  int i asm ("abc"); // ERROR - `asm' specifier not permitted 
};
OpenPOWER on IntegriCloud