Author: fjahanian
Date: Thu Dec 19 11:22:23 2013
New Revision: 197704

URL: http://llvm.org/viewvc/llvm-project?rev=197704&view=rev
Log:
ObjectiveC. Sema test for property, methods 
'section' attribute. // rdar://15450637

Modified:
    cfe/trunk/test/SemaObjC/method-attributes.m

Modified: cfe/trunk/test/SemaObjC/method-attributes.m
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/method-attributes.m?rev=197704&r1=197703&r2=197704&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjC/method-attributes.m (original)
+++ cfe/trunk/test/SemaObjC/method-attributes.m Thu Dec 19 11:22:23 2013
@@ -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


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to