diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2013-12-19 17:22:23 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-12-19 17:22:23 +0000 |
| commit | 4b7946a28aaeb79c86a0633af3751559b02cacdc (patch) | |
| tree | 4414eb4d10d29e3fd110d5097d752793df05eb3d | |
| parent | 69a89c784982ce3db39f4cdd8c3188804ac6337f (diff) | |
| download | llvm-4b7946a28aaeb79c86a0633af3751559b02cacdc.zip llvm-4b7946a28aaeb79c86a0633af3751559b02cacdc.tar.gz llvm-4b7946a28aaeb79c86a0633af3751559b02cacdc.tar.bz2 | |
ObjectiveC. Sema test for property, methods
'section' attribute. // rdar://15450637
llvm-svn: 197704
| -rw-r--r-- | clang/test/SemaObjC/method-attributes.m | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/SemaObjC/method-attributes.m b/clang/test/SemaObjC/method-attributes.m index 41c685d..c740ebb 100644 --- a/clang/test/SemaObjC/method-attributes.m +++ b/clang/test/SemaObjC/method-attributes.m @@ -89,3 +89,12 @@ __attribute__((cdecl)) // expected-warning {{'cdecl' attribute only applies to functions and methods}} @interface Complain @end + +// rdar://15450637 +@interface rdar15450637 : NSObject +@property int p __attribute__((section("__TEXT,foo"))); + +- (id) IMethod :(int) count, ... __attribute__((section("__TEXT,foo"))); + ++ (void) CMethod : (id) Obj __attribute__((section("__TEXT,fee"))); +@end |
