2014-06-06 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/60199
* g++.dg/cpp0x/constexpr-60199.C: New.
From-SVN: r211310
+2014-06-06 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/60199
+ * g++.dg/cpp0x/constexpr-60199.C: New.
+
2014-06-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
* gcc.dg/optimize-bswaphi-1.c: Adapt test to change of dump output.
--- /dev/null
+// PR c++/60199
+// { dg-do compile { target c++11 } }
+
+void f() {}
+
+static constexpr void (*g1)() = &f;
+static constexpr void (*g2)() = f;
+struct S {
+ static constexpr void (*g3)() = &f;
+ static constexpr void (*g4)() = f;
+};