summaryrefslogtreecommitdiffstats
path: root/clang/test/Misc/win32-macho.c
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2014-06-10 21:07:12 +0000
committerBob Wilson <bob.wilson@apple.com>2014-06-10 21:07:12 +0000
commit07216a1161173c0c3f81544459eb4feae808bf8c (patch)
treeae7a7f8e469377f6f23dddb4877d2378b705d9be /clang/test/Misc/win32-macho.c
parent73429fd4a69504bb6fb4bbfc550f649eb102099a (diff)
downloadbcm5719-llvm-07216a1161173c0c3f81544459eb4feae808bf8c.tar.gz
bcm5719-llvm-07216a1161173c0c3f81544459eb4feae808bf8c.zip
Fix crash with x86_64-pc-win32-macho target. <rdar://problem/17235840>
The changes in r204978 broke win32-macho targets. There were checks added for MSVC and Itanium environments as special cases, and win32-macho needs to be treated the same way. llvm-svn: 210584
Diffstat (limited to 'clang/test/Misc/win32-macho.c')
-rw-r--r--clang/test/Misc/win32-macho.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Misc/win32-macho.c b/clang/test/Misc/win32-macho.c
new file mode 100644
index 00000000000..2879ba4479c
--- /dev/null
+++ b/clang/test/Misc/win32-macho.c
@@ -0,0 +1,2 @@
+// Check that basic use of win32-macho targets works.
+// RUN: %clang -c -target x86_64-pc-win32-macho %s
OpenPOWER on IntegriCloud