1 // PR c++/60245 2 // { dg-do compile { target c++11 } } 3 Apply(const int in,int (* f)(const int &))4constexpr int Apply(const int in, int (*f)(const int&)) { return f(in); } 5 6 using Foo = int; id(const Foo & i)7static constexpr int id(const Foo& i) { return i; } 8 static constexpr int results1 = Apply(0, &id); 9