summaryrefslogtreecommitdiffstats
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
commit73286d63099cec2266c4802f6e35a3882dfb762a (patch)
tree344a03602cb0a1b6405874e760595ddc040beaec
parent698b1cb28d667e5c4bb68348baba8a82d6a6f8ea (diff)
downloadbcm5719-llvm-73286d63099cec2266c4802f6e35a3882dfb762a.tar.gz
bcm5719-llvm-73286d63099cec2266c4802f6e35a3882dfb762a.zip
Make this testcase compatible with CYGWIN.
llvm-svn: 44353
-rw-r--r--llvm/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c b/llvm/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c
index 63bb251c3f0..7a955330331 100644
--- a/llvm/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c
+++ b/llvm/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);
OpenPOWER on IntegriCloud