2014-11-18 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/60245
* g++.dg/cpp0x/constexpr-60245.C: New.
From-SVN: r217709
+2014-11-18 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/60245
+ * g++.dg/cpp0x/constexpr-60245.C: New.
+
2014-11-18 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/60771
--- /dev/null
+// PR c++/60245
+// { dg-do compile { target c++11 } }
+
+constexpr int Apply(const int in, int (*f)(const int&)) { return f(in); }
+
+using Foo = int;
+static constexpr int id(const Foo& i) { return i; }
+static constexpr int results1 = Apply(0, &id);