1 /* Test for string translation. */ 2 /* { dg-do compile } 3 { dg-require-iconv "IBM1047" } 4 { dg-final { scan-assembler "foo" } } */ main()5int main() 6 { 7 unsigned long int *ptr; 8 ptr = ((unsigned long int *) 9 ( { void *stack_ptr; 10 __asm__ __volatile__ ( "foo %0" : "=r" (stack_ptr) ); 11 (stack_ptr); } ) ); 12 return 0; 13 } 14