+2011-06-10 Jason Merrill <jason@redhat.com>
+
+ * testsuite/20_util/bind/ref_neg.cc: Remove dg-excess-errors,
+ fix dg-error markup.
+
2011-06-09 Jason Merrill <jason@redhat.com>
* testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust.
* testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
* testsuite/20_util/reference_wrapper/ref_neg.cc: Likewise.
* testsuite/20_util/tuple/comparison_operators/35480_neg.cc: Likewise.
- * testsuite/tr1/6_containers/tuple/comparison_operators/35480_neg.cc: Likewise.
+ * testsuite/tr1/6_containers/tuple/comparison_operators/35480_neg.cc:
+ Likewise.
* testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc: Likewise.
* testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise.
- * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: Likewise.
+ * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc:
+ Likewise.
* testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
* testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Likewise.
- * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc: Likewise.
- * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Likewise.
- * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc: Likewise.
+ * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc:
+ Likewise.
+ * testsuite/tr1/2_general_utilities/shared_ptr/assign/
+ auto_ptr_rvalue_neg.cc: Likewise.
+ * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc:
+ Likewise.
* testsuite/20_util/uses_allocator/cons_neg.cc: Likewise.
- * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Likewise.
- * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc: Likewise.
- * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise.
- * testsuite/23_containers/forward_list/requirements/dr438/assign_neg.cc: Likewise.
- * testsuite/23_containers/forward_list/requirements/dr438/constructor_1_neg.cc: Likewise.
- * testsuite/23_containers/forward_list/requirements/dr438/constructor_2_neg.cc: Likewise.
- * testsuite/23_containers/forward_list/requirements/dr438/insert_neg.cc: Likewise.
- * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Likewise.
- * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc: Likewise.
- * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc: Likewise.
- * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Likewise.
- * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Likewise.
- * testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc: Likewise.
- * testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc: Likewise.
- * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise.
+ * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
+ Likewise.
+ * testsuite/23_containers/deque/requirements/dr438/
+ constructor_1_neg.cc: Likewise.
+ * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
+ Likewise.
+ * testsuite/23_containers/forward_list/requirements/dr438/
+ assign_neg.cc: Likewise.
+ * testsuite/23_containers/forward_list/requirements/dr438/
+ constructor_1_neg.cc: Likewise.
+ * testsuite/23_containers/forward_list/requirements/dr438/
+ constructor_2_neg.cc: Likewise.
+ * testsuite/23_containers/forward_list/requirements/dr438/
+ insert_neg.cc: Likewise.
+ * testsuite/23_containers/list/requirements/dr438/
+ assign_neg.cc: Likewise.
+ * testsuite/23_containers/list/requirements/dr438/
+ constructor_1_neg.cc: Likewise.
+ * testsuite/23_containers/list/requirements/dr438/
+ constructor_2_neg.cc: Likewise.
+ * testsuite/23_containers/list/requirements/dr438/
+ insert_neg.cc: Likewise.
+ * testsuite/23_containers/vector/requirements/dr438/
+ assign_neg.cc: Likewise.
+ * testsuite/23_containers/vector/requirements/dr438/
+ constructor_1_neg.cc: Likewise.
+ * testsuite/23_containers/vector/requirements/dr438/
+ constructor_2_neg.cc: Likewise.
+ * testsuite/23_containers/vector/requirements/dr438/
+ insert_neg.cc: Likewise.
* testsuite/23_containers/map/operators/1_neg.cc: Likewise.
- * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: Likewise.
+ * testsuite/29_atomics/atomic_integral/operators/
+ bitwise_neg.cc: Likewise.
* testsuite/decimal/mixed-mode-arith_neg.cc: Likewise.
* testsuite/decimal/mixed-mode-cmp_neg.cc: Likewise.
* testsuite/decimal/operator_neg.cc: Likewise.
* scripts/extract_symvers.in: Handle processor/OS specific or
unknown symbol binding strings from readelf.
-
+
2011-06-09 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/type_traits (__is_copy_assignable_impl,
-// Copyright (C) 2010 Free Software Foundation, Inc.
+// Copyright (C) 2010, 2011 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
void test01()
{
const int dummy = 0;
- std::bind(&inc, _1)(0); // { dg-error ""}
- std::bind(&inc, std::ref(dummy))(); // { dg-error ""}
- std::bind(&inc, dummy)(); // { dg-error ""}
- std::bind(&inc, 0)(); // { dg-error ""}
+ std::bind(&inc, _1)(0); // { dg-error "" }
+ std::bind(&inc, std::ref(dummy))(); // { dg-error "" }
+ std::bind(&inc, dummy)();
+ std::bind(&inc, 0)();
}
struct Inc
void test02()
{
const int dummy = 0;
- std::bind(Inc(), _1)(dummy); // { dg-error ""}
- std::bind(&Inc::f, Inc(), std::ref(dummy))(); // { dg-error ""}
+ std::bind(Inc(), _1)(dummy); // { dg-error "" }
+ std::bind(&Inc::f, Inc(), std::ref(dummy))(); // { dg-error "" }
}
int main()
test01();
test02();
}
-
-// { dg-excess-errors "" }