aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend
diff options
context:
space:
mode:
authorZhou Sheng <zhousheng00@gmail.com>2007-11-27 06:17:01 +0000
committerZhou Sheng <zhousheng00@gmail.com>2007-11-27 06:17:01 +0000
commit515a641dacc9b445826646263f92bb4148963a25 (patch)
tree40ce5877b6c2a0a9b28850acd4b6cafd9183ca4e /test/CFrontend
parentb3d9cdb6776355ffba1c43809094f29e4d57a45f (diff)
downloadexternal_llvm-515a641dacc9b445826646263f92bb4148963a25.zip
external_llvm-515a641dacc9b445826646263f92bb4148963a25.tar.gz
external_llvm-515a641dacc9b445826646263f92bb4148963a25.tar.bz2
Make this testcase compatible with CYGWIN.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44353 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r--test/CFrontend/2005-02-20-AggregateSAVEEXPR.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c b/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c
index 63bb251..7a95533 100644
--- a/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c
+++ b/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c
@@ -8,7 +8,11 @@
//
// XFAIL: sparc
-#include <complex.h>
+#ifdef __CYGWIN__
+ #include <mingw/complex.h>
+#else
+ #include <complex.h>
+#endif
int foo(complex float c) {
return creal(c);