// PR c++/110065 // { dg-do compile { target c++17 } } template inline constexpr bool t = false; int f () { return t auto&>; // { dg-error "template argument" } } void g () { t auto&>; // { dg-error "template argument" } }