Fix inaccurate comment in new test
authorJonathan Wakely <jwakely@redhat.com>
Fri, 12 Jul 2019 15:45:16 +0000 (16:45 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 12 Jul 2019 15:45:16 +0000 (16:45 +0100)
* testsuite/29_atomics/atomic_float/1.cc: Fix comment.

From-SVN: r273448

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc

index 668d80afa8bdafecdf52419754f72bf5b045c0e8..8e96a8984831fd11add3ee0e4a01598fa5e11cf1 100644 (file)
@@ -1,5 +1,7 @@
 2019-07-12  Jonathan Wakely  <jwakely@redhat.com>
 
+       * testsuite/29_atomics/atomic_float/1.cc: Fix comment.
+
        * include/experimental/string_view (__detail::__idt): Remove.
        (operator==, operator!=, operator<, operator>, operator<=, operator>=):
        Use __type_identity_t instead of __detail::__idt;
index bd0e353538d9667e0a94bd59362a7eef7d7204f6..b56c026fb99a1d23ed75c9d1327a4ac681575d18 100644 (file)
@@ -476,7 +476,7 @@ test03()
     VERIFY( a0 == 13.2l );
   }
 
-  // Repeat for volatile std::atomic<double>
+  // Repeat for volatile std::atomic<long double>
   if constexpr (std::atomic<long double>::is_always_lock_free)
   {
     volatile std::atomic<long double> a0;