Tweak the code-generation-for-condition-variables test case to get to what we want to test
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89818 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/condition.cpp b/test/CodeGenCXX/condition.cpp
index 198c93b..de33668 100644
--- a/test/CodeGenCXX/condition.cpp
+++ b/test/CodeGenCXX/condition.cpp
@@ -92,14 +92,14 @@
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;
}