Mercurial > hg > CbC > CbC_llvm
annotate clang/test/CodeGenObjC/blocks-ivar-debug.m @ 206:f17a3b42b08b
Added tag before-12 for changeset b7591485f4cd
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 07 Jun 2021 21:25:57 +0900 |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
150 | 1 // RUN: %clang_cc1 -debug-info-kind=limited %s -fblocks -S -o %t |
2 // Radar 7959934 | |
3 | |
4 @interface NSObject { | |
5 struct objc_object *isa; | |
6 } | |
7 @end | |
8 @interface Foo : NSObject { | |
9 int _prop; | |
10 } | |
11 @end | |
12 | |
13 @implementation Foo | |
14 - (int)doSomething { | |
15 int (^blk)(void) = ^{ return _prop; }; | |
16 return blk(); | |
17 } | |
18 | |
19 @end | |
20 |