2008-05-30 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / obj-c++.dg / comp-types-10.mm
blob0a8f1c9b2c28bc5a7c9e62874e334b16c05f47ec
1 /* Yet another mysterious gimplifier crasher.  */
2 /* { dg-do compile } */
3 /* { dg-xfail-if "PR23716" { *-*-* } { "*" } { "" } } */
4 /* { dg-prune-output ".*internal compiler error.*" } */
5 /* { dg-options "-O3" } */
7 @class NSString;
8 @protocol NSObject
9 @end
10 @interface NSObject <NSObject> {
12 @end
13 void __setRetained(id *ivar, id value) {
14     *ivar = value;
16 static NSString *_logProcessPrefix = 0;
17 @implementation NSObject (ScopeAdditions)
18 + (void)setObjectLogProcessPrefix:(NSString *)processPrefix {
19     __setRetained(&_logProcessPrefix, processPrefix);
21 @end