2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / asm-extn1.C
blob3c39972ba40e6f1dfa1168a2445c27c5c525307f
1 // { dg-do assemble { target sparc-sun-* } }
2 // { dg-options "-S" }
3 // GROUPS passed asm-extension
4 // This used to crash because c_expand_asm_keyword didn't know what to
5 // do with this.  The parser rules were changed to accept an expr, instead
6 // of a stmt.
8 extern void traptable(void);
10 main()
12   asm("wr    %0,%%tbr" : : "r" (traptable));