blob: 91316224f0c8677ba5f2e52e1e5b4fd0ef422431 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* Test for string translation. */
/* { dg-do compile }
{ dg-require-iconv "IBM-1047" }
{ 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;
}
|