dr2020.cc: Fix typo.
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 25 May 2011 00:13:18 +0000 (00:13 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 25 May 2011 00:13:18 +0000 (00:13 +0000)
2011-05-24  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/20_util/duration/arithmetic/dr2020.cc: Fix typo.

From-SVN: r174152

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/duration/arithmetic/dr2020.cc

index 3480c8ab7df4b88f7a9fb5f298235b898cec3334..75eb538b3a813d262d625df75de8bdd2cf517c27 100644 (file)
@@ -1,3 +1,7 @@
+2011-05-24  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * testsuite/20_util/duration/arithmetic/dr2020.cc: Fix typo.
+
 2011-05-24  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR libstdc++/49151
index 29945aeb7649885ea614733a175a2bd9a85a60e0..3f28f37f4c46cfa1747cee04f10f5bf77cde7787 100644 (file)
@@ -39,7 +39,7 @@ void test01()
   constexpr auto d3 = d0 - d1;
   VERIFY( d3.count() == 9 );
 
-  constexpr auto d4 = d0 * 5;
+  constexpr auto d4 = d0 * i;
   VERIFY( d4.count() == 60 );
 
   constexpr auto d5 = i * d0;