re PR c++/68754 (Explicitly defaulted constexpr assignment operator fails to compile)
2017-06-02 Paolo Carlini <paolo.carlini@oracle.com> PR c++/68754 * g++.dg/cpp1y/constexpr-68754.C: New. From-SVN: r248847
This commit is contained in:
parent
3fd44c8a79
commit
bd280745ee
@ -1,6 +1,9 @@
|
||||
2017-06-02 Carl Love <cel@us.ibm.com>
|
||||
2017-06-02 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
gcc/testsuite/ChangeLog:
|
||||
PR c++/68754
|
||||
* g++.dg/cpp1y/constexpr-68754.C: New.
|
||||
|
||||
2017-06-02 Carl Love <cel@us.ibm.com>
|
||||
|
||||
* gcc.target/powerpc/builtins-3-runnable.c: New file of runnable tests
|
||||
for the new built-ins.
|
||||
|
7
gcc/testsuite/g++.dg/cpp1y/constexpr-68754.C
Normal file
7
gcc/testsuite/g++.dg/cpp1y/constexpr-68754.C
Normal file
@ -0,0 +1,7 @@
|
||||
// PR c++/68754
|
||||
// { dg-do compile { target c++14 } }
|
||||
|
||||
struct base { };
|
||||
struct derived : base {
|
||||
constexpr derived& operator=(derived const&) = default;
|
||||
};
|
Loading…
Reference in New Issue
Block a user