re PR c++/85070 (ICE on C++ code: in lazily_declare_fn, at cp/method.c:2409)
PR c++/85070 * g++.dg/cpp0x/pr85070.C: Change effective target for diagnostics from c++14_only to c++14. From-SVN: r265052
This commit is contained in:
parent
cbd8652b67
commit
1cc6eecd5d
@ -1,3 +1,9 @@
|
||||
2018-10-11 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c++/85070
|
||||
* g++.dg/cpp0x/pr85070.C: Change effective target for diagnostics from
|
||||
c++14_only to c++14.
|
||||
|
||||
2018-10-11 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
* lib/multiline.exp (dg-begin-multiline-output): Issue an error if
|
||||
|
@ -4,10 +4,10 @@ struct A;
|
||||
|
||||
struct B
|
||||
{
|
||||
constexpr A & operator= (const A &); // { dg-warning "used" "" { target c++14_only } }
|
||||
constexpr A & operator= (const A &); // { dg-warning "used" "" { target c++14 } }
|
||||
};
|
||||
|
||||
struct A : B // { dg-error "cannot be overloaded" "" { target c++14_only } }
|
||||
struct A : B // { dg-error "cannot be overloaded" "" { target c++14 } }
|
||||
{
|
||||
using B::operator=;
|
||||
} a { a = a };
|
||||
|
Loading…
Reference in New Issue
Block a user