Commit bee9e49f by Paolo Carlini Committed by Paolo Carlini

re PR c++/58541 ([c++11] Bogus "error: redeclaration ... differs in ‘constexpr’")

2017-06-14  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/58541
	* g++.dg/cpp0x/constexpr-58541.C: New.

From-SVN: r249186
parent 280cace4
2017-06-14 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/58541
* g++.dg/cpp0x/constexpr-58541.C: New.
2017-06-14 Richard Biener <rguenther@suse.de>
PR tree-optimization/81083
......
// { dg-do compile { target c++11 } }
struct X {
static constexpr const char x[] = "x";
};
const char X::x[];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment