summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2013-12-05 19:38:42 +0000
committerBob Wilson <bob.wilson@apple.com>2013-12-05 19:38:42 +0000
commit83e723a9c9fe5dbcb3ae0ec37bcef11d8924c0be (patch)
tree15eec93821e363b3a124f03f029b9ad36d56313a /clang/test
parentc44a3ff63845cf73bdf0b559a8ddb06ff5f6c710 (diff)
downloadbcm5719-llvm-83e723a9c9fe5dbcb3ae0ec37bcef11d8924c0be.tar.gz
bcm5719-llvm-83e723a9c9fe5dbcb3ae0ec37bcef11d8924c0be.zip
Fix assertion failure left over from changes to move away from "darwin" triples.
I happened to notice this while trying to write a test for an iOS simulator target. I suspect we just missed this when we added separate "macosx" and "ios" triples instead of the generic "darwin" OS. llvm-svn: 196527
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Driver/darwin-objc-options.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Driver/darwin-objc-options.m b/clang/test/Driver/darwin-objc-options.m
index a90a12d733d..3e21fb38c0a 100644
--- a/clang/test/Driver/darwin-objc-options.m
+++ b/clang/test/Driver/darwin-objc-options.m
@@ -30,3 +30,6 @@
// CHECK-CHECK-I386_IOS: -fexceptions
// CHECK-CHECK-I386_IOS-NOT: -fobjc-dispatch-method
// CHECK-CHECK-I386_IOS: darwin-objc-options
+
+// Don't crash with an unexpected target triple.
+// RUN: %clang -target i386-apple-ios7 -S -### %s
OpenPOWER on IntegriCloud