diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-11-25 00:29:29 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-11-25 00:29:29 +0000 |
commit | 345e7d29d597a8fff97a20845f3ab63bec81db35 (patch) | |
tree | d2a85fb2eb3edbb4dda4fe2b4901001bd95c2eda /test/CodeGenCXX/condition.cpp | |
parent | 99e9b4d172f6877e6ba5ebe75bb8238721f5e01c (diff) |
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
Diffstat (limited to 'test/CodeGenCXX/condition.cpp')
-rw-r--r-- | test/CodeGenCXX/condition.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGenCXX/condition.cpp b/test/CodeGenCXX/condition.cpp index 198c93b664..de33668e08 100644 --- a/test/CodeGenCXX/condition.cpp +++ b/test/CodeGenCXX/condition.cpp @@ -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; } |