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