blob: 695bb11d7808584980046bb643692c4fb57ff025 [file] [log] [blame]
// PR c++/90236
// { dg-do compile { target c++17 } }
struct foo { };
template <const auto &> void fnc() { }
void
test()
{
static constexpr foo a;
fnc<a>();
}