aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenObjCXX/subst-sel.mm
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenObjCXX/subst-sel.mm')
-rw-r--r--test/CodeGenObjCXX/subst-sel.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGenObjCXX/subst-sel.mm b/test/CodeGenObjCXX/subst-sel.mm
new file mode 100644
index 000000000000..f4a2b840fe70
--- /dev/null
+++ b/test/CodeGenObjCXX/subst-sel.mm
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
+
+// CHECK: @_Z4bad1P8NSObjectP13objc_selectorP11objc_objectS4_
+void bad1(struct NSObject *, SEL, id, id) {}