brintos

brintos / llvm-project-archived public Read only

0
0
Text · 398 B · a099bdd Raw
14 lines · plain
1// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fsyntax-only -verify -Wno-objc-root-class %s2// expected-no-diagnostics3 4@interface Foo5@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@end10 11@implementation Foo12@end13 14