aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/import-decl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/import-decl.cpp')
-rw-r--r--test/Modules/import-decl.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Modules/import-decl.cpp b/test/Modules/import-decl.cpp
index 900e090c0c5f..56428b3eba65 100644
--- a/test/Modules/import-decl.cpp
+++ b/test/Modules/import-decl.cpp
@@ -8,3 +8,12 @@
int main() {
return 0;
}
+
+// <rdar://problem/15084587>
+@interface A
+-method;
+@end
+
+void testImport(A *import) {
+ [import method];
+}