diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2011-05-25 00:13:18 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2011-05-25 00:13:18 +0000 |
commit | fa6642c9650809c39f3813cfa549a7537535d6f1 (patch) | |
tree | b531ed092b43e23e1622cdff812872374a90efbd /libstdc++-v3 | |
parent | f52f3c6dab8faaba5db2b7c1fb558134210d8b93 (diff) | |
download | gcc-fa6642c9650809c39f3813cfa549a7537535d6f1.zip gcc-fa6642c9650809c39f3813cfa549a7537535d6f1.tar.gz gcc-fa6642c9650809c39f3813cfa549a7537535d6f1.tar.bz2 |
dr2020.cc: Fix typo.
2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/20_util/duration/arithmetic/dr2020.cc: Fix typo.
From-SVN: r174152
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 4 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/20_util/duration/arithmetic/dr2020.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 3480c8a..75eb538 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,9 @@ 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 * include/std/chrono (operator+, operator-, operator*, operator/, operator&): Implement LWG 2020 [WP]; specify constexpr. diff --git a/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr2020.cc b/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr2020.cc index 29945ae..3f28f37 100644 --- a/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr2020.cc +++ b/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr2020.cc @@ -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; |