Fix clang/test/CodeGenCXX/alignment.cpp for -Asserts.

llvm-svn: 246992
This commit is contained in:
NAKAMURA Takumi 2015-09-08 09:31:04 +00:00
parent 999110f903
commit c88d2fac7c
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ namespace test0 {
// CHECK: [[C_P:%.*]] = alloca [[C:%.*]], align 2
C c;
// CHECK: [[CALL:%.*]] = call i32 @_Z10int_sourcev()
// CHECK: [[T0:%.*]] = bitcast [[C]]* [[C_P]] to i8*
// CHECK: [[T1:%.*]] = getelementptr inbounds i8, i8* [[T0]], i64 8
// CHECK: [[B_P:%.*]] = bitcast i8* [[T1]] to [[B]]*