diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2004-10-23 19:41:06 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2004-10-23 12:41:06 -0700 |
commit | ed3eaab807ffc8395b7256e23dc037e513967f6b (patch) | |
tree | 5fd2b4112f0fd6cdb4a0a34230037e8a81764505 /libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-3.cc | |
parent | 66174cd035f09f753cc4ada347f09d78875244f1 (diff) | |
download | gcc-ed3eaab807ffc8395b7256e23dc037e513967f6b.tar.gz |
deallocate_global-2.c: s/value_t/value_type/.
2004-10-23 Andrew Pinski <pinskia@physics.uc.edu>
* testsuite/ext/mt_allocator/deallocate_global-2.c:
s/value_t/value_type/. s/traits_t/traits_type/.
s/policy_t/policy_type/. s/allocator_t/allocator_type/.
s/string_t/string_type/. s/list_t/list_type/.
* testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
From-SVN: r89493
Diffstat (limited to 'libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-3.cc')
-rw-r--r-- | libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-3.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-3.cc b/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-3.cc index e293b5c5193..ba8c1033c02 100644 --- a/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-3.cc +++ b/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-3.cc @@ -64,17 +64,17 @@ void operator delete(void* p) throw() free(p); } -typedef char value_t; -typedef std::char_traits<value_t> traits_t; -typedef __gnu_cxx::__per_type_pool_policy<value_t, true> policy_t; -typedef __gnu_cxx::__mt_alloc<value_t, policy_t> allocator_t; -typedef std::basic_string<value_t, traits_t, allocator_t> string_t; +typedef char value_type; +typedef std::char_traits<value_type> traits_type; +typedef __gnu_cxx::__per_type_pool_policy<value_type, true> policy_type; +typedef __gnu_cxx::__mt_alloc<value_type, policy_type> allocator_type; +typedef std::basic_string<value_type, traits_type, allocator_type> string_type; int main() { bool test __attribute__((unused)) = true; { - string_t s; + string_type s; s += "bayou bend"; } return 0; |