summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-05-23 17:03:50 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-05-23 17:03:50 +0000
commitba74e5daa58fd7d65e5ff2929b7712e83299c097 (patch)
tree446c8949250da76f57f4e5c0d71c0732c3ad561e
parenta602caf369e7caead9bfa855c6126eeef224538b (diff)
downloadbcm5719-llvm-ba74e5daa58fd7d65e5ff2929b7712e83299c097.tar.gz
bcm5719-llvm-ba74e5daa58fd7d65e5ff2929b7712e83299c097.zip
Test for David Chisnall's -fobjc-sender-dependent-dispatch patch.
llvm-svn: 72330
-rw-r--r--clang/test/CodeGenObjC/messages.m8
1 files changed, 7 insertions, 1 deletions
diff --git a/clang/test/CodeGenObjC/messages.m b/clang/test/CodeGenObjC/messages.m
index b2bda672158..b4536ce02d5 100644
--- a/clang/test/CodeGenObjC/messages.m
+++ b/clang/test/CodeGenObjC/messages.m
@@ -1,4 +1,10 @@
-// RUN: clang-cc -fnext-runtime --emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime --emit-llvm -o %t %s &&
+// RUN: grep "objc_msgSend" %t | count 6 &&
+// RUNX: clang-cc -fgnu-runtime --emit-llvm -o %t %s &&
+// RUNX: grep "objc_msg_lookup" %t | count 6 &&
+// RUNY: clang-cc -fgnu-runtime -fobjc-sender-dependent-dispatch --emit-llvm -o %t %s &&
+// RUNY: grep "objc_msg_lookup_sender" %t | count 6
+// RUN: true
typedef struct {
int x;
OpenPOWER on IntegriCloud