diff options
Diffstat (limited to 'clang/test/SemaObjC/no-warning-unavail-unimp.m')
-rw-r--r-- | clang/test/SemaObjC/no-warning-unavail-unimp.m | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/clang/test/SemaObjC/no-warning-unavail-unimp.m b/clang/test/SemaObjC/no-warning-unavail-unimp.m new file mode 100644 index 0000000..88d519d --- /dev/null +++ b/clang/test/SemaObjC/no-warning-unavail-unimp.m @@ -0,0 +1,12 @@ +// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s +// rdar://9651605 + +@interface Foo +@property (getter=getVal) int val __attribute__((unavailable)); +- Method __attribute__((unavailable)); ++ CMethod __attribute__((unavailable)); +@end + +@implementation Foo +@end + |