Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.brendan/asm-extn1.C

raw
1 // { dg-do assemble { target sparc*-*-* } }
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.
7
8 extern void traptable(void);
9
10 int main()
11 {
12 asm("wr %0,%%tbr" : : "r" (traptable));
13 }