Fix PR2096, a regression introduced with my patch last night. This
[oota-llvm.git] / test / CFrontend / 2005-02-20-AggregateSAVEEXPR.c
index a555bfd6c9d377ad4d811fb50e4de863fba5836b..7a9553303314ebf3a10929a429ca0c5c2439ee3a 100644 (file)
@@ -1,14 +1,18 @@
 // RUN: %llvmgcc %s -o /dev/null -S
 // Note:
-//  We fail this on SparcV9 because the C library seems to be missing complex.h
+//  We fail this on Sparc because the C library seems to be missing complex.h
 //  and the corresponding C99 complex support.
 //
 //  We could modify the test to use only GCC extensions, but I don't know if
 //  that would change the nature of the test.
 //
-// XFAIL: sparcv9
+// XFAIL: sparc
 
-#include <complex.h>
+#ifdef __CYGWIN__
+  #include <mingw/complex.h>
+#else
+  #include <complex.h>
+#endif
 
 int foo(complex float c) {
     return creal(c);