aboutsummaryrefslogtreecommitdiff
path: root/clang/test/SemaObjC/no-warning-unavail-unimp.m
blob: a099bdd67976834bce627622b9dda8767633ee1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fsyntax-only -verify -Wno-objc-root-class %s
// expected-no-diagnostics

@interface Foo
@property (getter=getVal) int val __attribute__((unavailable));
@property (getter=getVal) int val2 __attribute__((availability(macosx,unavailable)));
- Method __attribute__((unavailable));
+ CMethod __attribute__((unavailable));
@end

@implementation Foo
@end