[cfe-commits] r89818 - /cfe/trunk/test/CodeGenCXX/condition.cpp

Douglas Gregor dgregor at apple.com
Tue Nov 24 16:29:29 PST 2009


Author: dgregor
Date: Tue Nov 24 18:29:29 2009
New Revision: 89818

URL: http://llvm.org/viewvc/llvm-project?rev=89818&view=rev
Log:
Tweak the code-generation-for-condition-variables test case to get to what we want to test

Modified:
    cfe/trunk/test/CodeGenCXX/condition.cpp

Modified: cfe/trunk/test/CodeGenCXX/condition.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/condition.cpp?rev=89818&r1=89817&r2=89818&view=diff

==============================================================================
--- cfe/trunk/test/CodeGenCXX/condition.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/condition.cpp Tue Nov 24 18:29:29 2009
@@ -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;
 }





More information about the cfe-commits mailing list