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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -debug-info-kind=limited %s -fblocks -S -o %t
anatofuz
parents:
diff changeset
2 // Radar 7959934
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 @interface NSObject {
anatofuz
parents:
diff changeset
5 struct objc_object *isa;
anatofuz
parents:
diff changeset
6 }
anatofuz
parents:
diff changeset
7 @end
anatofuz
parents:
diff changeset
8 @interface Foo : NSObject {
anatofuz
parents:
diff changeset
9 int _prop;
anatofuz
parents:
diff changeset
10 }
anatofuz
parents:
diff changeset
11 @end
anatofuz
parents:
diff changeset
12
anatofuz
parents:
diff changeset
13 @implementation Foo
anatofuz
parents:
diff changeset
14 - (int)doSomething {
anatofuz
parents:
diff changeset
15 int (^blk)(void) = ^{ return _prop; };
anatofuz
parents:
diff changeset
16 return blk();
anatofuz
parents:
diff changeset
17 }
anatofuz
parents:
diff changeset
18
anatofuz
parents:
diff changeset
19 @end
anatofuz
parents:
diff changeset
20