diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2013-04-08 18:45:10 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2013-04-08 18:45:10 +0000 |
commit | 809500fc2c13c8173a16b052304d983864e4a1e1 (patch) | |
tree | 4fc2f184c499d106f29a386c452b49e5197bf63d /test/SemaObjC/builtin_objc_msgSend.m | |
parent | be7c9ec198dcdb5bf73a35bfbb00b3333cb87909 (diff) | |
download | src-809500fc2c13c8173a16b052304d983864e4a1e1.tar.gz src-809500fc2c13c8173a16b052304d983864e4a1e1.zip |
Vendor import of clang trunk r178860:vendor/clang/clang-trunk-r178860
Notes
Notes:
svn path=/vendor/clang/dist/; revision=249261
svn path=/vendor/clang/clang-trunk-r178860/; revision=249262; tag=vendor/clang/clang-trunk-r178860
Diffstat (limited to 'test/SemaObjC/builtin_objc_msgSend.m')
-rw-r--r-- | test/SemaObjC/builtin_objc_msgSend.m | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/SemaObjC/builtin_objc_msgSend.m b/test/SemaObjC/builtin_objc_msgSend.m index bfa09d9f6cfc..ffa16e70bf85 100644 --- a/test/SemaObjC/builtin_objc_msgSend.m +++ b/test/SemaObjC/builtin_objc_msgSend.m @@ -2,3 +2,19 @@ // expected-no-diagnostics // rdar://8632525 extern id objc_msgSend(id self, SEL op, ...); + +// rdar://12489098 +struct objc_super { + id receiver; + Class super_class; +}; + +extern __attribute__((visibility("default"))) id objc_msgSendSuper(struct objc_super *super, SEL op, ...) + __attribute__((availability(macosx,introduced=10.0))); + +extern __attribute__((visibility("default"))) void objc_msgSendSuper_stret(struct objc_super *super, SEL op, ...) + __attribute__((availability(macosx,introduced=10.0))); + +extern __attribute__((visibility("default"))) void objc_msgSend_stret(id self, SEL op, ...) + __attribute__((availability(macosx,introduced=10.0))); + |