summaryrefslogtreecommitdiff
path: root/clang/test/SemaObjC/ignore-weakimport-method.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaObjC/ignore-weakimport-method.m')
-rw-r--r--clang/test/SemaObjC/ignore-weakimport-method.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/SemaObjC/ignore-weakimport-method.m b/clang/test/SemaObjC/ignore-weakimport-method.m
new file mode 100644
index 0000000..d71cebf
--- /dev/null
+++ b/clang/test/SemaObjC/ignore-weakimport-method.m
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+@interface foo
++ (void) cx __attribute__((weak_import));
+- (void) x __attribute__((weak_import));
+@end
+