aboutsummaryrefslogtreecommitdiff
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
commit37530fc3809332be8c862a8ed1a467b431d0f168 (patch)
treeff106db7c338421c94fb7effb88dfb15f26a446d
parentfde6420cb9142f7f4efe5ec69a216295d83bcda4 (diff)
Test for David Chisnall's -fobjc-sender-dependent-dispatch patch.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72330 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGenObjC/messages.m8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/CodeGenObjC/messages.m b/test/CodeGenObjC/messages.m
index b2bda67215..b4536ce02d 100644
--- a/test/CodeGenObjC/messages.m
+++ b/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;