summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgregor <dgregor@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-02 13:11:13 +0000
committerdgregor <dgregor@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-02 13:11:13 +0000
commit3d45ffd8345a1482e20ac19eecb16e41994ee1c0 (patch)
tree72665c2f6e6e5aa5eec853a9252093800e583a01
parent6c1a068befd5ab60b44d7d3998c378c70e5ed663 (diff)
downloadppe42-gcc-3d45ffd8345a1482e20ac19eecb16e41994ee1c0.tar.gz
ppe42-gcc-3d45ffd8345a1482e20ac19eecb16e41994ee1c0.zip
2007-07-02 Douglas Gregor <doug.gregor@gmail.com>
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Tweak line numbers. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Ditto. * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Don't try to create an unsigned wchar_t. * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Don't try to create an unsigned wchar_t. * testsuite/util/testsuite_hooks.h: Remove a stray semicolon. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126203 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libstdc++-v3/ChangeLog12
-rw-r--r--libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc4
-rw-r--r--libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-1.cc2
-rw-r--r--libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc2
-rw-r--r--libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc4
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_hooks.h2
6 files changed, 19 insertions, 7 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index d5c52fca72a..6ee0d59d919 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,15 @@
+2007-07-02 Douglas Gregor <doug.gregor@gmail.com>
+
+ * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
+ Tweak line numbers.
+ * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
+ Ditto.
+ * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc:
+ Don't try to create an unsigned wchar_t.
+ * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
+ Don't try to create an unsigned wchar_t.
+ * testsuite/util/testsuite_hooks.h: Remove a stray semicolon.
+
2007-07-01 Douglas Gregor <doug.gregor@gmail.com>
* include/std/type_traits (__make_unsigned): Remove invalid
diff --git a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc
index db34e04c171..774dca5af70 100644
--- a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc
+++ b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc
@@ -49,8 +49,8 @@ void test01()
// { dg-error "instantiated from here" "" { target *-*-* } 41 }
// { dg-error "instantiated from here" "" { target *-*-* } 43 }
-// { dg-error "invalid use of incomplete type" "" { target *-*-* } 497 }
-// { dg-error "declaration of" "" { target *-*-* } 463 }
+// { dg-error "invalid use of incomplete type" "" { target *-*-* } 489 }
+// { dg-error "declaration of" "" { target *-*-* } 455 }
// { dg-excess-errors "At global scope" }
// { dg-excess-errors "In instantiation of" }
diff --git a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-1.cc b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-1.cc
index 1270729bedf..ead941c645b 100644
--- a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-1.cc
+++ b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-1.cc
@@ -49,7 +49,7 @@ void test01()
#ifdef _GLIBCXX_USE_WCHAR_T
typedef make_unsigned<volatile wchar_t>::type test23_type;
- VERIFY( (is_same<test23_type, volatile unsigned wchar_t>::value) );
+ VERIFY( (is_same<test23_type, volatile wchar_t>::value) );
#endif
typedef make_unsigned<test_enum>::type test25_type;
diff --git a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc
index 1715d36c44a..0789ef55f22 100644
--- a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc
+++ b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc
@@ -49,7 +49,7 @@ void test01()
#ifdef _GLIBCXX_USE_WCHAR_T
typedef make_unsigned<volatile wchar_t>::type test23_type;
- VERIFY( (is_same<test23_type, volatile unsigned wchar_t>::value) );
+ VERIFY( (is_same<test23_type, volatile wchar_t>::value) );
#endif
typedef make_unsigned<test_enum>::type test25_type;
diff --git a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc
index e64c0e2501e..56ce7b9d225 100644
--- a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc
+++ b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc
@@ -49,8 +49,8 @@ void test01()
// { dg-error "instantiated from here" "" { target *-*-* } 41 }
// { dg-error "instantiated from here" "" { target *-*-* } 43 }
-// { dg-error "invalid use of incomplete type" "" { target *-*-* } 418 }
-// { dg-error "declaration of" "" { target *-*-* } 384 }
+// { dg-error "invalid use of incomplete type" "" { target *-*-* } 414 }
+// { dg-error "declaration of" "" { target *-*-* } 380 }
// { dg-excess-errors "At global scope" }
// { dg-excess-errors "In instantiation of" }
diff --git a/libstdc++-v3/testsuite/util/testsuite_hooks.h b/libstdc++-v3/testsuite/util/testsuite_hooks.h
index 8e22ec0c2b1..d92eef1500c 100644
--- a/libstdc++-v3/testsuite/util/testsuite_hooks.h
+++ b/libstdc++-v3/testsuite/util/testsuite_hooks.h
@@ -134,7 +134,7 @@ namespace __gnu_test
func_callback(const func_callback&);
public:
- func_callback(): _M_size(0) { };
+ func_callback(): _M_size(0) { }
int
size() const { return _M_size; }
OpenPOWER on IntegriCloud