Fix std::wstring allocator tests
* testsuite/21_strings/basic_string/allocator/wchar_t/copy.cc: Remove reundant check for _GLIBCXX_USE_WCHAR_T and fix char type. * testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc: Likewise. * testsuite/21_strings/basic_string/allocator/wchar_t/minimal.cc: Likewise. * testsuite/21_strings/basic_string/allocator/wchar_t/move.cc: Likewise. * testsuite/21_strings/basic_string/allocator/wchar_t/move_assign.cc: Likewise. * testsuite/21_strings/basic_string/allocator/wchar_t/noexcept.cc: Likewise. * testsuite/21_strings/basic_string/allocator/wchar_t/swap.cc: Likewise. From-SVN: r238996
This commit is contained in:
parent
8bcd00bb13
commit
589a30d1a4
8 changed files with 34 additions and 19 deletions
|
@ -1,5 +1,20 @@
|
|||
2016-08-02 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* testsuite/21_strings/basic_string/allocator/wchar_t/copy.cc:
|
||||
Remove reundant check for _GLIBCXX_USE_WCHAR_T and fix char type.
|
||||
* testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc:
|
||||
Likewise.
|
||||
* testsuite/21_strings/basic_string/allocator/wchar_t/minimal.cc:
|
||||
Likewise.
|
||||
* testsuite/21_strings/basic_string/allocator/wchar_t/move.cc:
|
||||
Likewise.
|
||||
* testsuite/21_strings/basic_string/allocator/wchar_t/move_assign.cc:
|
||||
Likewise.
|
||||
* testsuite/21_strings/basic_string/allocator/wchar_t/noexcept.cc:
|
||||
Likewise.
|
||||
* testsuite/21_strings/basic_string/allocator/wchar_t/swap.cc:
|
||||
Likewise.
|
||||
|
||||
* testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Improve
|
||||
comments.
|
||||
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
#include <testsuite_hooks.h>
|
||||
#include <testsuite_allocator.h>
|
||||
|
||||
#if _GLIBCXX_USE_CXX11_ABI && defined(_GLIBCXX_USE_WCHAR_T)
|
||||
using C = char;
|
||||
const C c = 'a';
|
||||
#if _GLIBCXX_USE_CXX11_ABI
|
||||
using C = wchar_t;
|
||||
const C c = L'a';
|
||||
using traits = std::char_traits<C>;
|
||||
|
||||
using __gnu_test::propagating_allocator;
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
#include <testsuite_hooks.h>
|
||||
#include <testsuite_allocator.h>
|
||||
|
||||
#if _GLIBCXX_USE_CXX11_ABI && defined(_GLIBCXX_USE_WCHAR_T)
|
||||
using C = char;
|
||||
const C c = 'a';
|
||||
#if _GLIBCXX_USE_CXX11_ABI
|
||||
using C = wchar_t;
|
||||
const C c = L'a';
|
||||
using traits = std::char_traits<C>;
|
||||
|
||||
using __gnu_test::propagating_allocator;
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <testsuite_hooks.h>
|
||||
#include <testsuite_allocator.h>
|
||||
|
||||
#if _GLIBCXX_USE_CXX11_ABI && defined(_GLIBCXX_USE_WCHAR_T)
|
||||
#if _GLIBCXX_USE_CXX11_ABI
|
||||
using C = wchar_t;
|
||||
const C c = L'a';
|
||||
using traits = std::char_traits<C>;
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
#include <testsuite_hooks.h>
|
||||
#include <testsuite_allocator.h>
|
||||
|
||||
#if _GLIBCXX_USE_CXX11_ABI && defined(_GLIBCXX_USE_WCHAR_T)
|
||||
using C = char;
|
||||
const C c = 'a';
|
||||
#if _GLIBCXX_USE_CXX11_ABI
|
||||
using C = wchar_t;
|
||||
const C c = L'a';
|
||||
using traits = std::char_traits<C>;
|
||||
|
||||
using __gnu_test::uneq_allocator;
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
#include <testsuite_hooks.h>
|
||||
#include <testsuite_allocator.h>
|
||||
|
||||
#if _GLIBCXX_USE_CXX11_ABI && defined(_GLIBCXX_USE_WCHAR_T)
|
||||
using C = char;
|
||||
const C c = 'a';
|
||||
#if _GLIBCXX_USE_CXX11_ABI
|
||||
using C = wchar_t;
|
||||
const C c = L'a';
|
||||
using traits = std::char_traits<C>;
|
||||
|
||||
using __gnu_test::propagating_allocator;
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
#include <string>
|
||||
#include <testsuite_allocator.h>
|
||||
|
||||
#if _GLIBCXX_USE_CXX11_ABI && defined(_GLIBCXX_USE_WCHAR_T)
|
||||
using C = char;
|
||||
const C c = 'a';
|
||||
#if _GLIBCXX_USE_CXX11_ABI
|
||||
using C = wchar_t;
|
||||
const C c = L'a';
|
||||
using traits = std::char_traits<C>;
|
||||
|
||||
using __gnu_test::propagating_allocator;
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
#include <testsuite_hooks.h>
|
||||
#include <testsuite_allocator.h>
|
||||
|
||||
#if _GLIBCXX_USE_CXX11_ABI && defined(_GLIBCXX_USE_WCHAR_T)
|
||||
using C = char;
|
||||
const C c = 'a';
|
||||
#if _GLIBCXX_USE_CXX11_ABI
|
||||
using C = wchar_t;
|
||||
const C c = L'a';
|
||||
using traits = std::char_traits<C>;
|
||||
|
||||
using __gnu_test::propagating_allocator;
|
||||
|
|
Loading…
Add table
Reference in a new issue