1*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-X86-64 %s 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc// radar 7547942 4*f4a2713aSLionel Sambuc// Allow injection of ivars into implementation's implicit class. 5*f4a2713aSLionel Sambuc 6*f4a2713aSLionel Sambuc@implementation INTFSTANDALONE // expected-warning {{cannot find interface declaration for 'INTFSTANDALONE'}} 7*f4a2713aSLionel Sambuc{ 8*f4a2713aSLionel Sambuc id IVAR1; 9*f4a2713aSLionel Sambuc id IVAR2; 10*f4a2713aSLionel Sambuc} 11*f4a2713aSLionel Sambuc- (id) Meth { return IVAR1; } 12*f4a2713aSLionel Sambuc@end 13*f4a2713aSLionel Sambuc 14*f4a2713aSLionel Sambuc// CHECK-X86-64: @"OBJC_IVAR_$_INTFSTANDALONE.IVAR1" 15*f4a2713aSLionel Sambuc// CHECK-X86-64: @"OBJC_IVAR_$_INTFSTANDALONE.IVAR2" 16*f4a2713aSLionel Sambuc 17