https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107687
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- I don't understand why clang++ doesn't error here: -- consteval int id(int i) { return i; } template<typename T> constexpr int f (T t) { auto p = id; // immediate-escalating expr return t; } auto q = &f<int>; // error? -- I though naming 'id' should promote f<int> to consteval and therefore you can't take its address.