summaryrefslogtreecommitdiffstats
path: root/clang/test/Import/objc-method/test.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Import/objc-method/test.m')
-rw-r--r--clang/test/Import/objc-method/test.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Import/objc-method/test.m b/clang/test/Import/objc-method/test.m
new file mode 100644
index 00000000000..7707110d824
--- /dev/null
+++ b/clang/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];
+}
OpenPOWER on IntegriCloud