Fariborz Jahanian | 327126e | 2011-06-24 20:31:37 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
2 | // rdar://9651605 | ||||
3 | |||||
4 | @interface Foo | ||||
5 | @property (getter=getVal) int val __attribute__((unavailable)); | ||||
6 | - Method __attribute__((unavailable)); | ||||
7 | + CMethod __attribute__((unavailable)); | ||||
8 | @end | ||||
9 | |||||
10 | @implementation Foo | ||||
11 | @end | ||||
12 |