xref: /llvm-project/clang/test/SemaObjC/no-warning-unavail-unimp.m (revision 0f1c1be1968076d6f96f8a7bcc4a15cf195ecd97)
1// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fsyntax-only -verify -Wno-objc-root-class %s
2// expected-no-diagnostics
3
4@interface Foo
5@property (getter=getVal) int val __attribute__((unavailable));
6@property (getter=getVal) int val2 __attribute__((availability(macosx,unavailable)));
7- Method __attribute__((unavailable));
8+ CMethod __attribute__((unavailable));
9@end
10
11@implementation Foo
12@end
13
14