1*67e74705SXin Li// RUN: %clang_cc1 -S -debug-info-kind=limited -o %t.s %s 2*67e74705SXin Li 3*67e74705SXin Li// FIXME: This test case can be removed at some point (since it will 4*67e74705SXin Li// no longer effectively test anything). The reason it was causing 5*67e74705SXin Li// trouble was the synthesized self decl in im1 was causing the debug 6*67e74705SXin Li// info for I1* to be generated, but referring to an invalid compile 7*67e74705SXin Li// unit. This was later referred to by f1 and created ill formed debug 8*67e74705SXin Li// information. 9*67e74705SXin Li 10*67e74705SXin Li@interface I1 @end 11*67e74705SXin Li 12*67e74705SXin Li@implementation I1 13*67e74705SXin Li-im0 { return 0; } 14*67e74705SXin Li@end 15*67e74705SXin Li 16*67e74705SXin LiI1 *f1(void) { return 0; } 17