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