Adjust test for float printing differences. Windows uses three digits for the exponent, everyone else two.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108693 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/reference-cast.cpp b/test/CodeGenCXX/reference-cast.cpp
index 49409d7..585d1db 100644
--- a/test/CodeGenCXX/reference-cast.cpp
+++ b/test/CodeGenCXX/reference-cast.cpp
@@ -42,24 +42,24 @@
 // CHECK: define float* @_Z29lvalue_integral_floating_castv()
 const float &lvalue_integral_floating_cast() {
   if (i == 0)
-    // CHECK: store float 1.700000e+01, float*
+    // CHECK: store float 1.700000e+{{0*}}1, float*
     return (const float&)17;
   else if (i == 1)
-    // CHECK: store float 1.700000e+01, float*
+    // CHECK: store float 1.700000e+{{0*}}1, float*
     return static_cast<const float&>(17);
-  // CHECK: store float 1.700000e+01, float*
+  // CHECK: store float 1.700000e+{{0*}}1, float*
   return 17;
 }
 
 // CHECK: define float* @_Z20lvalue_floating_castv()
 const float &lvalue_floating_cast() {
   if (i == 0)
-    // CHECK: store float 1.700000e+01, float*
+    // CHECK: store float 1.700000e+{{0*}}1, float*
     return (const float&)17.0;
   else if (i == 1)
-    // CHECK: store float 1.700000e+01, float*
+    // CHECK: store float 1.700000e+{{0*}}1, float*
     return static_cast<const float&>(17.0);
-  // CHECK: store float 1.700000e+01, float*
+  // CHECK: store float 1.700000e+{{0*}}1, float*
   return 17.0;
 }