diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2010-01-23 11:10:26 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2010-01-23 11:10:26 +0000 |
commit | 2fce988e86bc01829142e4362d4eff1af0925147 (patch) | |
tree | c69d3f4f13d508570bb5257a6aea735f88bdf09c /test/Rewriter/rewrite-byref-vars.mm | |
parent | a3fa5c7f1b5e2ba4d6ec033dc0e2376326b05824 (diff) | |
download | FreeBSD-src-2fce988e86bc01829142e4362d4eff1af0925147.zip FreeBSD-src-2fce988e86bc01829142e4362d4eff1af0925147.tar.gz |
Update clang to r94309.
Diffstat (limited to 'test/Rewriter/rewrite-byref-vars.mm')
-rw-r--r-- | test/Rewriter/rewrite-byref-vars.mm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Rewriter/rewrite-byref-vars.mm b/test/Rewriter/rewrite-byref-vars.mm index 581437b..1489c59 100644 --- a/test/Rewriter/rewrite-byref-vars.mm +++ b/test/Rewriter/rewrite-byref-vars.mm @@ -31,5 +31,16 @@ __declspec(dllexport) extern "C" __declspec(dllexport) void XXXXBreakTheRewriter } +@interface I +{ + id list; +} +- (void) Meth; +@end + +@implementation I +- (void) Meth { __attribute__((__blocks__(byref))) void ** listp = (void **)list; } +@end + // $CLANG -cc1 -fms-extensions -rewrite-objc -x objective-c++ -fblocks bug.mm // g++ -c -D"__declspec(X)=" bug.cpp |