See if this test makes it though buildbot.

llvm-svn: 98087
This commit is contained in:
Fariborz Jahanian 2010-03-09 21:50:08 +00:00
parent fae913adf8
commit 9d227a1d5e
1 changed files with 9 additions and 1 deletions

View File

@ -1,4 +1,5 @@
// RUN: %clang_cc1 -emit-llvm -o %t %s
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck -check-prefix LP64 %s
// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm -o - %s | FileCheck -check-prefix LP32 %s
typedef struct objc_class *Class;
@ -63,3 +64,10 @@ id Test2() {
((id)cat)->isa = dynamicSubclass;
}
@end
// CHECK-LP64: %{{.*}} = load i8** %
// CHECK-LP64: %{{.*}} = bitcast i8* %{{.*}} to i8**
// CHECK-LP64: store i8* %{{.*}}, i8** %{{.*}}
// CHECK-LP32: %{{.*}} = load i8** %
// CHECK-LP32: %{{.*}} = bitcast i8* %{{.*}} to i8**
// CHECK-LP32: store i8* %{{.*}}, i8** %{{.*}}