Commit 269ef14d by Douglas Gregor Committed by Doug Gregor

typedefs_neg.cc: Tweak line numbers.

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.

From-SVN: r126203
parent 76dc15d4
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> 2007-07-01 Douglas Gregor <doug.gregor@gmail.com>
* include/std/type_traits (__make_unsigned): Remove invalid * include/std/type_traits (__make_unsigned): Remove invalid
......
...@@ -49,8 +49,8 @@ void test01() ...@@ -49,8 +49,8 @@ void test01()
// { dg-error "instantiated from here" "" { target *-*-* } 41 } // { dg-error "instantiated from here" "" { target *-*-* } 41 }
// { dg-error "instantiated from here" "" { target *-*-* } 43 } // { dg-error "instantiated from here" "" { target *-*-* } 43 }
// { dg-error "invalid use of incomplete type" "" { target *-*-* } 497 } // { dg-error "invalid use of incomplete type" "" { target *-*-* } 489 }
// { dg-error "declaration of" "" { target *-*-* } 463 } // { dg-error "declaration of" "" { target *-*-* } 455 }
// { dg-excess-errors "At global scope" } // { dg-excess-errors "At global scope" }
// { dg-excess-errors "In instantiation of" } // { dg-excess-errors "In instantiation of" }
...@@ -49,7 +49,7 @@ void test01() ...@@ -49,7 +49,7 @@ void test01()
#ifdef _GLIBCXX_USE_WCHAR_T #ifdef _GLIBCXX_USE_WCHAR_T
typedef make_unsigned<volatile wchar_t>::type test23_type; 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 #endif
typedef make_unsigned<test_enum>::type test25_type; typedef make_unsigned<test_enum>::type test25_type;
......
...@@ -49,7 +49,7 @@ void test01() ...@@ -49,7 +49,7 @@ void test01()
#ifdef _GLIBCXX_USE_WCHAR_T #ifdef _GLIBCXX_USE_WCHAR_T
typedef make_unsigned<volatile wchar_t>::type test23_type; 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 #endif
typedef make_unsigned<test_enum>::type test25_type; typedef make_unsigned<test_enum>::type test25_type;
......
...@@ -49,8 +49,8 @@ void test01() ...@@ -49,8 +49,8 @@ void test01()
// { dg-error "instantiated from here" "" { target *-*-* } 41 } // { dg-error "instantiated from here" "" { target *-*-* } 41 }
// { dg-error "instantiated from here" "" { target *-*-* } 43 } // { dg-error "instantiated from here" "" { target *-*-* } 43 }
// { dg-error "invalid use of incomplete type" "" { target *-*-* } 418 } // { dg-error "invalid use of incomplete type" "" { target *-*-* } 414 }
// { dg-error "declaration of" "" { target *-*-* } 384 } // { dg-error "declaration of" "" { target *-*-* } 380 }
// { dg-excess-errors "At global scope" } // { dg-excess-errors "At global scope" }
// { dg-excess-errors "In instantiation of" } // { dg-excess-errors "In instantiation of" }
...@@ -134,7 +134,7 @@ namespace __gnu_test ...@@ -134,7 +134,7 @@ namespace __gnu_test
func_callback(const func_callback&); func_callback(const func_callback&);
public: public:
func_callback(): _M_size(0) { }; func_callback(): _M_size(0) { }
int int
size() const { return _M_size; } size() const { return _M_size; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment