libstdc++: Fix typos in #error strings
authorJonathan Wakely <jwakely@redhat.com>
Thu, 3 Dec 2020 19:30:02 +0000 (19:30 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 3 Dec 2020 19:31:19 +0000 (19:31 +0000)
libstdc++-v3/ChangeLog:

* testsuite/26_numerics/bit/bit.cast/bit_cast.cc: Remove stray
word from copy&paste.
* testsuite/26_numerics/bit/bit.cast/version.cc: Likewise.

libstdc++-v3/testsuite/26_numerics/bit/bit.cast/bit_cast.cc
libstdc++-v3/testsuite/26_numerics/bit/bit.cast/version.cc

index b451f15..138ceb1 100644 (file)
@@ -21,9 +21,9 @@
 #include <bit>
 
 #ifndef __cpp_lib_bit_cast
-# error "Feature-test macro for bit_cast wait missing in <bit>"
+# error "Feature-test macro for bit_cast missing in <bit>"
 #elif __cpp_lib_bit_cast != 201806L
-# error "Feature-test macro for bit_cast wait has wrong value in <bit>"
+# error "Feature-test macro for bit_cast has wrong value in <bit>"
 #endif
 
 #include <cstdint>
index 688d44b..82e9754 100644 (file)
@@ -21,7 +21,7 @@
 #include <version>
 
 #ifndef __cpp_lib_bit_cast
-# error "Feature-test macro for bit_cast wait missing in <version>"
+# error "Feature-test macro for bit_cast missing in <version>"
 #elif __cpp_lib_bit_cast != 201806L
-# error "Feature-test macro for bit_cast wait has wrong value in <version>"
+# error "Feature-test macro for bit_cast has wrong value in <version>"
 #endif