assign_neg.cc: Adjust dg-error lines.

2008-07-16  Paolo Carlini  <paolo.carlini@oracle.com>

	* testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust
	dg-error lines.
	* testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
	* testsuite/20_util/duration/cons/1_neg.cc: Likewise.

	* include/tr1_impl/type_traits: Fix comment typo.

From-SVN: r137874
This commit is contained in:
Paolo Carlini 2008-07-16 10:10:41 +00:00 committed by Paolo Carlini
parent 238fe3c54b
commit 751a3fcab3
5 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,12 @@
2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust
dg-error lines.
* testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
* testsuite/20_util/duration/cons/1_neg.cc: Likewise.
* include/tr1_impl/type_traits: Fix comment typo.
2008-07-16 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/unique_ptr.h: Remove stray character.

View File

@ -235,7 +235,7 @@ _GLIBCXX_BEGIN_NAMESPACE_TR1
template<typename _Tp>
struct is_member_pointer;
/// is_scalal
/// is_scalar
template<typename _Tp>
struct is_scalar
: public integral_constant<bool, (is_arithmetic<_Tp>::value

View File

@ -41,6 +41,6 @@ test02()
// { dg-error "instantiated from here" "" { target *-*-* } 30 }
// { dg-error "instantiated from here" "" { target *-*-* } 39 }
// { dg-error "not exactly representable" "" { target *-*-* } 202 }
// { dg-error "integral duration with floating point" "" { target *-*-* } 186 }
// { dg-error "not exactly representable" "" { target *-*-* } 203 }
// { dg-error "integral duration with floating point" "" { target *-*-* } 187 }
// { dg-excess-errors "In instantiation of" }

View File

@ -39,4 +39,4 @@ void test01()
m1 = m2;
}
// { dg-error "within this context" "" { target *-*-* } 39 }
// { dg-error "is private" "" { target *-*-* } 155 }
// { dg-error "is private" "" { target *-*-* } 154 }

View File

@ -38,4 +38,4 @@ void test01()
mutex_type m2(m1);
}
// { dg-error "within this context" "" { target *-*-* } 38 }
// { dg-error "is private" "" { target *-*-* } 154 }
// { dg-error "is private" "" { target *-*-* } 153 }