Improve compatibility with older versions of Windows.
[llvm/msp430.git] / test / FrontendC / 2005-02-20-AggregateSAVEEXPR.c
blob7a9553303314ebf3a10929a429ca0c5c2439ee3a
1 // RUN: %llvmgcc %s -o /dev/null -S
2 // Note:
3 // We fail this on Sparc because the C library seems to be missing complex.h
4 // and the corresponding C99 complex support.
5 //
6 // We could modify the test to use only GCC extensions, but I don't know if
7 // that would change the nature of the test.
8 //
9 // XFAIL: sparc
11 #ifdef __CYGWIN__
12 #include <mingw/complex.h>
13 #else
14 #include <complex.h>
15 #endif
17 int foo(complex float c) {
18 return creal(c);