From: Douglas Gregor Date: Wed, 25 Nov 2009 00:29:29 +0000 (+0000) Subject: Tweak the code-generation-for-condition-variables test case to get to what we want... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=345e7d29d597a8fff97a20845f3ab63bec81db35;p=clang 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 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; }