diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2014-10-28 23:46:58 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2014-10-28 23:46:58 +0000 |
commit | a61c9c98319fa18db0856b5fc1ce0490e61dc06a (patch) | |
tree | b463a43ba2419c14335a851fe1162727fef40d2e /test/Rewriter/rewrite-modern-block.mm | |
parent | 3fa023249555204d0d625c99428e7b9ab95e177a (diff) | |
download | clang-a61c9c98319fa18db0856b5fc1ce0490e61dc06a.tar.gz |
Objective-C modern rewriter. Patch to fix a rewriting bug
rewriting an Objective-C block. Patch by Ryan Govostes.
rdar://18799145
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220834 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Rewriter/rewrite-modern-block.mm')
-rw-r--r-- | test/Rewriter/rewrite-modern-block.mm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Rewriter/rewrite-modern-block.mm b/test/Rewriter/rewrite-modern-block.mm index 23029654c9..926ee36f1a 100644 --- a/test/Rewriter/rewrite-modern-block.mm +++ b/test/Rewriter/rewrite-modern-block.mm @@ -63,3 +63,6 @@ z w(int loc, int len); options &= ~(1 | 2); } @end + +// rdar://18799145 +int Test18799145() { return ^(){return 0;}(); } |