22 lines · plain
1// RUN: %clang_cc1 -emit-llvm -o %t %s2 3@interface Test { }4+ (Test *)crash;5+ (void)setCrash: (int)value;6@end7 8@implementation Test9static int _value;10- (void)cachesPath11{12 static Test *cachesPath;13 14 if (!cachesPath) {15 Test *crash = Test.crash;16 }17}18+ (Test *)crash{ return 0; }19+ (void)setCrash: (int)value{ _value = value; }20@end21 22