// PR c++/85864 // { dg-do compile { target c++14 } } // { dg-options -w } template struct String_template {}; template constexpr String_template operator""_template() { return String_template {}; } template int hex(T v) { return 1; } template void tt2() { // auto h2 = hex(1); auto h = hex(2); } int main() { // auto h = hex(2); // return h; }