blob: 8245f01028b9388999327afa68a5d52020617f45 [file] [log] [blame]
John McCalld1e40d52011-10-02 01:16:38 +00001// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-X86-64 %s
Fariborz Jahanian11062e12010-02-19 00:31:17 +00002
3// radar 7547942
4// Allow injection of ivars into implementation's implicit class.
5
6@implementation INTFSTANDALONE // expected-warning {{cannot find interface declaration for 'INTFSTANDALONE'}}
7{
8 id IVAR1;
9 id IVAR2;
10}
11- (id) Meth { return IVAR1; }
12@end
13
14// CHECK-X86-64: @"OBJC_IVAR_$_INTFSTANDALONE.IVAR1"
15// CHECK-X86-64: @"OBJC_IVAR_$_INTFSTANDALONE.IVAR2"
16