Debian Codegraph @

gcc/testsuite/obj-c++.dg/comp-types-10.mm

raw
1 /* Yet another mysterious gimplifier crasher. */
2 /* { dg-do compile } */
3 /* { dg-prune-output ".*internal compiler error.*" } */
4 /* { dg-options "-O3" } */
5 // { dg-additional-options "-Wno-objc-root-class" }
6
7 @class NSString;
8 @protocol NSObject
9 @end
10 @interface NSObject <NSObject> {
11 }
12 @end
13 void __setRetained(id *ivar, id value) {
14 *ivar = value;
15 }
16 static NSString *_logProcessPrefix = 0;
17 @implementation NSObject (ScopeAdditions)
18 + (void)setObjectLogProcessPrefix:(NSString *)processPrefix {
19 __setRetained(&_logProcessPrefix, processPrefix);
20 }
21 @end