summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/method_pool_write.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/method_pool_write.m')
-rw-r--r--clang/test/Modules/method_pool_write.m11
1 files changed, 11 insertions, 0 deletions
diff --git a/clang/test/Modules/method_pool_write.m b/clang/test/Modules/method_pool_write.m
new file mode 100644
index 00000000000..b7f8ac64b4d
--- /dev/null
+++ b/clang/test/Modules/method_pool_write.m
@@ -0,0 +1,11 @@
+// RUN: rm -rf %t
+// RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -fsyntax-only -I %S/Inputs %s -verify
+// expected-no-diagnostics
+
+@import MethodPoolCombined;
+@import MethodPoolString2;
+
+void message_kindof_object(__kindof S2 *kindof_S2) {
+ [kindof_S2 stringValue];
+}
+
OpenPOWER on IntegriCloud