mirror of git://gcc.gnu.org/git/gcc.git
get_neg.cc: Adjust dg-error line numbers.
2015-06-24 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust dg-error line numbers. * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc: Likewise. From-SVN: r224897
This commit is contained in:
parent
7af8ef58c1
commit
a2055cc9e5
|
|
@ -1,3 +1,10 @@
|
||||||
|
2015-06-24 Paolo Carlini <paolo.carlini@oracle.com>
|
||||||
|
|
||||||
|
* testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
|
||||||
|
dg-error line numbers.
|
||||||
|
* testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
|
||||||
|
Likewise.
|
||||||
|
|
||||||
2015-06-23 François Dumont <fdumont@gcc.gnu.org>
|
2015-06-23 François Dumont <fdumont@gcc.gnu.org>
|
||||||
|
|
||||||
* include/debug/array: Include <array>. Add version namespace when
|
* include/debug/array: Include <array>. Add version namespace when
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,6 @@ int n1 = std::get<1>(a);
|
||||||
int n2 = std::get<1>(std::move(a));
|
int n2 = std::get<1>(std::move(a));
|
||||||
int n3 = std::get<1>(ca);
|
int n3 = std::get<1>(ca);
|
||||||
|
|
||||||
// { dg-error "static assertion failed" "" { target *-*-* } 282 }
|
// { dg-error "static assertion failed" "" { target *-*-* } 283 }
|
||||||
// { dg-error "static assertion failed" "" { target *-*-* } 291 }
|
// { dg-error "static assertion failed" "" { target *-*-* } 292 }
|
||||||
// { dg-error "static assertion failed" "" { target *-*-* } 299 }
|
// { dg-error "static assertion failed" "" { target *-*-* } 300 }
|
||||||
|
|
|
||||||
|
|
@ -23,4 +23,4 @@
|
||||||
|
|
||||||
typedef std::tuple_element<1, std::array<int, 1>>::type type;
|
typedef std::tuple_element<1, std::array<int, 1>>::type type;
|
||||||
|
|
||||||
// { dg-error "static assertion failed" "" { target *-*-* } 330 }
|
// { dg-error "static assertion failed" "" { target *-*-* } 331 }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue