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

--- Comment #15 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Yet another example:

    template <typename T> struct S {};
    template <typename T> S<decltype(*(T*)0)> f() {}
    int main() {f<int>();}

(with Ian's go demangler:)
markus@x4 tmp % c++filt_ _Z1fIiE1SIDTdecvPT_Li0EEEv
S<decltype (*((int*)(0)))> f<int>()

markus@x4 tmp % c++filt _Z1fIiE1SIDTdecvPT_Li0EEEv
[1]    7743 segmentation fault  c++filt _Z1fIiE1SIDTdecvPT_Li0EEEv

Reply via email to