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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Even more reduced testcase:
typedef int t;
struct S {
        explicit operator t() {
                return 0;
        }
};

int main() {
        S val;
        t &&ref (val);
        return 0;
}

Reply via email to