asm-extn1.C   [plain text]


// Build don't link: 
// Special g++ Options: -S
// GROUPS passed asm-extension
// Skip if not target: sparc-sun-*
// 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);

main()
{
  asm("wr    %0,%%tbr" : : "r" (traptable));
}