diff options
Diffstat (limited to 'test/SemaObjC/ignore-weakimport-method.m')
-rw-r--r-- | test/SemaObjC/ignore-weakimport-method.m | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/SemaObjC/ignore-weakimport-method.m b/test/SemaObjC/ignore-weakimport-method.m new file mode 100644 index 000000000000..369d9023acfb --- /dev/null +++ b/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 + |