2017-10-17 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/67831
* g++.dg/cpp0x/constexpr-ice18.C: New.
From-SVN: r253807
+2017-10-17 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/67831
+ * g++.dg/cpp0x/constexpr-ice18.C: New.
+
2017-10-17 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/82570
--- /dev/null
+// PR c++/67831
+// { dg-do compile { target c++11 } }
+
+struct Task {
+ struct TaskStaticData {
+ constexpr TaskStaticData() {}
+ } const &tsd;
+ constexpr Task() : tsd(TaskStaticData()) {}
+};
+
+Task tasks{Task()};