https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83258

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Testcase from Bug 85589:

template<auto& v> struct foo {};

    int main() {
        static auto v = "str";
        (void) foo<v> {};
    }

Reply via email to