summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.ext/asmspec1.C
blob: 97d4b8e6bfc7c3cde982b4774cf37ad45b0e74be (plain)
1
2
3
4
5
6
7
// { dg-do assemble { target i?86-*-* x86_64-*-* } }
// Origin: Anthony Green  <green@cygnus.com>

void foo ()
{ 
  register const char *h asm("%esi") = "hey"; 
}