blob: 75fa5f84d519a1fd97b2622184b4ae7b6f90a0ad [file] [log] [blame]
// { dg-do assemble { target sparc*-*-* } }
// { dg-options "-S" }
// GROUPS passed asm-extension
// This used to crash because c_expand_asm_keyword didn't know what to
// do with this. The parser rules were changed to accept an expr, instead
// of a stmt.
extern void traptable(void);
int main()
{
asm("wr %0,%%tbr" : : "r" (traptable));
}