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:
Douglas Gregor 2009-11-25 00:29:29 +00:00
parent 7bab5ff8e7
commit e05b765b0d
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}