URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.dg/] [charset/] [asm5.c] - Rev 12
Compare with Previous | Blame | View Log
/* Test for string translation. */ /* { dg-do compile } { dg-require-iconv "IBM1047" } { dg-final { scan-assembler "foo" } } */ int main() { unsigned long int *ptr; ptr = ((unsigned long int *) ( { void *stack_ptr; __asm__ __volatile__ ( "foo %0" : "=r" (stack_ptr) ); (stack_ptr); } ) ); return 0; }