Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20000804-1.c
blob68db6d36aedf957df20c8bc9899c1f31f51c8e23
1 /* This does not work on m68hc11 or h8300 due to the use of an asm
2 statement to force a 'long long' (64-bits) to go in a register. */
3 /* { dg-do assemble } */
4 /* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && ilp32 } { "-fpic" "-fPIC" } { "" } } */
5 /* { dg-skip-if "PIC default" { i?86-*-darwin* } { "*" } { "" } } */
6 /* { dg-skip-if "No 64-bit registers" { m32c-*-* } { "*" } { "" } } */
7 /* { dg-xfail-if "" { m6811-*-* m6812-*-* h8300-*-* } { "*" } { "" } } */
9 /* Copyright (C) 2000, 2003 Free Software Foundation */
10 __complex__ long long f ()
12 int i[99];
13 __complex__ long long v;
15 v += f ();
16 asm("": "+r" (v) : "r" (0), "r" (1));
17 v = 2;
18 return v;
19 g (&v);