forked from OSchip/llvm-project
clang/test/CodeGenCXX: Fix two tests, destructors.cpp and microsoft-abi-array-cookies.cpp, for -Asserts.
llvm-svn: 155913
This commit is contained in:
parent
8fc810c2ef
commit
4ad81df818
|
@ -362,7 +362,7 @@ namespace test9 {
|
|||
f1<int>();
|
||||
f2();
|
||||
}
|
||||
// CHECK: call void @_ZN5test97ArgTypeD1Ev(%"struct.test9::ArgType"* %ref.tmp)
|
||||
// CHECK: call void @_ZN5test97ArgTypeD1Ev(%"struct.test9::ArgType"* %
|
||||
// CHECK: call void @_ZN5test92f2Ev()
|
||||
}
|
||||
|
||||
|
|
|
@ -54,6 +54,6 @@ void check_array_cookies_aligned() {
|
|||
// CHECK: bitcast i8* [[ARRAY]] to [[CLASS:%.*]]*
|
||||
|
||||
delete [] array;
|
||||
// CHECK: [[ARRAY_AS_CHAR:%.*]] = bitcast [[CLASS]]* %3 to i8*
|
||||
// CHECK: [[ARRAY_AS_CHAR:%.*]] = bitcast [[CLASS]]*
|
||||
// CHECK: getelementptr inbounds i8* [[ARRAY_AS_CHAR]], i64 -8
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue