diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2015-10-03 00:43:17 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2015-10-03 00:43:17 +0100 |
commit | 1ca9de51265b0c51d44a4b9385f3a46a05de4ccb (patch) | |
tree | c94649acd1641d836cbd9cf9d8713b319726ee7b /libstdc++-v3/testsuite/22_locale | |
parent | 8b75621078b42aa4cc41110a3388bdf65205056a (diff) | |
download | gcc-1ca9de51265b0c51d44a4b9385f3a46a05de4ccb.zip gcc-1ca9de51265b0c51d44a4b9385f3a46a05de4ccb.tar.gz gcc-1ca9de51265b0c51d44a4b9385f3a46a05de4ccb.tar.bz2 |
Fix testsuite failures with --disable-wchar_t
* testsuite/21_strings/basic_string/literals/types.cc: Guard use of
wchar_t with _GLIBCXX_USE_WCHAR_T.
* testsuite/21_strings/basic_string/literals/values.cc: Likewise.
* testsuite/21_strings/basic_string/requirements/citerators.cc:
Likewise.
* testsuite/22_locale/messages/13631.cc: Likewise.
* testsuite/experimental/string_view/literals/types.cc: Likewise.
* testsuite/experimental/string_view/literals/values.cc: Likewise.
From-SVN: r228439
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale')
-rw-r--r-- | libstdc++-v3/testsuite/22_locale/messages/13631.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/messages/13631.cc b/libstdc++-v3/testsuite/22_locale/messages/13631.cc index 9feb42c..fb93c00 100644 --- a/libstdc++-v3/testsuite/22_locale/messages/13631.cc +++ b/libstdc++-v3/testsuite/22_locale/messages/13631.cc @@ -57,6 +57,7 @@ void test01() void test02() { +#ifdef _GLIBCXX_USE_WCHAR_T bool test __attribute__((unused)) = true; // This is defined through CXXFLAGS in scripts/testsuite_flags[.in]. @@ -89,6 +90,7 @@ void test02() msgs_facet.close(msgs); VERIFY( translation1 == translation2 ); +#endif } int main() |