summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/tr1
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-29 17:06:24 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-29 17:06:24 +0000
commita79add34ab382c95b4871788a0710e9d790aae20 (patch)
treef6e5083ac6d4de84f45b13c531a0cca4bed7858d /libstdc++-v3/testsuite/tr1
parent6491e64daa8e77e62d3314384ddb7d921088e37f (diff)
downloadgcc-a79add34ab382c95b4871788a0710e9d790aae20.tar.gz
2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/utility: Include <initializer_list>, per the current WP. * testsuite/lib/libstdc++.exp (check_v3_target_cstdint): Tweak, don't use -std=gnu++0x unnecessarily. * testsuite/18_support/numeric_limits/char16_32_t.cc: Use dg-require-cstdint. * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Likewise. * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138255 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/tr1')
-rw-r--r--libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc
index d7159739803..3826713f753 100644
--- a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc
+++ b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc
@@ -1,8 +1,9 @@
// { dg-do compile }
+// { dg-require-cstdint "" }
// 2006-01-29 Paolo Carlini <pcarlini@suse.de>
//
-// Copyright (C) 2006 Free Software Foundation, Inc.
+// Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -26,8 +27,6 @@
void test01()
{
-#if _GLIBCXX_USE_C99_STDINT_TR1
-
typedef std::tr1::int8_t my_int8_t;
typedef std::tr1::int16_t my_int16_t;
typedef std::tr1::int32_t my_int32_t;
@@ -56,6 +55,4 @@ void test01()
typedef std::tr1::uint_least64_t my_uint_least64_t;
typedef std::tr1::uintmax_t my_uintmax_t;
typedef std::tr1::uintptr_t my_uintptr_t;
-
-#endif
}