[cfe-commits] r72330 - /cfe/trunk/test/CodeGenObjC/messages.m
Fariborz Jahanian
fjahanian at apple.com
Sat May 23 10:04:03 PDT 2009
Author: fjahanian
Date: Sat May 23 12:03:50 2009
New Revision: 72330
URL: http://llvm.org/viewvc/llvm-project?rev=72330&view=rev
Log:
Test for David Chisnall's -fobjc-sender-dependent-dispatch patch.
Modified:
cfe/trunk/test/CodeGenObjC/messages.m
Modified: cfe/trunk/test/CodeGenObjC/messages.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/messages.m?rev=72330&r1=72329&r2=72330&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/messages.m (original)
+++ cfe/trunk/test/CodeGenObjC/messages.m Sat May 23 12:03:50 2009
@@ -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;
More information about the cfe-commits
mailing list