annotate gcc/testsuite/objc.dg/comp-types-9.m @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Yet another mysterious gimplifier crasher. */
kono
parents:
diff changeset
2 /* { dg-do compile } */
kono
parents:
diff changeset
3 /* { dg-options "-O3" } */
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 @class NSString;
kono
parents:
diff changeset
6 @protocol NSObject
kono
parents:
diff changeset
7 @end
kono
parents:
diff changeset
8 @interface NSObject <NSObject> {
kono
parents:
diff changeset
9 }
kono
parents:
diff changeset
10 @end
kono
parents:
diff changeset
11 void __setRetained(id *ivar, id value) {
kono
parents:
diff changeset
12 *ivar = value;
kono
parents:
diff changeset
13 }
kono
parents:
diff changeset
14 static NSString *_logProcessPrefix = 0;
kono
parents:
diff changeset
15 @implementation NSObject (ScopeAdditions)
kono
parents:
diff changeset
16 + (void)setObjectLogProcessPrefix:(NSString *)processPrefix {
kono
parents:
diff changeset
17 __setRetained(&_logProcessPrefix, processPrefix);
kono
parents:
diff changeset
18 }
kono
parents:
diff changeset
19 @end