summaryrefslogtreecommitdiff
path: root/clang/test/SemaObjC/no-warning-unavail-unimp.m
blob: 88d519d115c4d7edbc3c401e68548b6f8745cfe1 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %clang_cc1  -fsyntax-only -verify -Wno-objc-root-class %s
// rdar://9651605

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

@implementation Foo
@end