aboutsummaryrefslogtreecommitdiff
path: root/test/Import/objc-method/test.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Import/objc-method/test.m')
-rw-r--r--test/Import/objc-method/test.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Import/objc-method/test.m b/test/Import/objc-method/test.m
new file mode 100644
index 000000000000..7707110d8249
--- /dev/null
+++ b/test/Import/objc-method/test.m
@@ -0,0 +1,5 @@
+// RUN: clang-import-test -x objective-c++ -import %S/Inputs/S.m -expression %s
+void expr() {
+ C *c;
+ int i = [c m];
+}