diff options
Diffstat (limited to 'clang/test/SemaObjC/ignore-weakimport-method.m')
-rw-r--r-- | clang/test/SemaObjC/ignore-weakimport-method.m | 7 |
1 files changed, 7 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 00000000000..369d9023acf --- /dev/null +++ b/clang/test/SemaObjC/ignore-weakimport-method.m @@ -0,0 +1,7 @@ +// RUN: clang-cc -fsyntax-only -verify %s + +@interface foo ++ (void) cx __attribute__((weak_import)); +- (void) x __attribute__((weak_import)); +@end + |