1 // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fsyntax-only -verify -Wno-objc-root-class %s
2 // expected-no-diagnostics
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));