forked from OSchip/llvm-project
Tweak the code-generation-for-condition-variables test case to get to what we want to test
llvm-svn: 89818
This commit is contained in:
parent
7bab5ff8e7
commit
e05b765b0d
|
@ -92,14 +92,14 @@ void while_destruct(int z) {
|
|||
|
||||
void for_destruct(int z) {
|
||||
// CHECK: define void @_Z12for_destruct
|
||||
// CHECK: call void @_ZN1XC1Ev
|
||||
for(X x = X(); z; ++z)
|
||||
// CHECK: call void @_ZN1YC1Ev
|
||||
for(Y y = Y(); X x = X(); ++z)
|
||||
// CHECK: for.body:
|
||||
// CHECK: store i32 23
|
||||
z = 23;
|
||||
// CHECK: for.inc:
|
||||
// CHECK: for.end
|
||||
// CHECK: call void @_ZN1XD1Ev
|
||||
// CHECK: call void @_ZN1YD1Ev
|
||||
// CHECK: store i32 24
|
||||
z = 24;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue