view gcc/testsuite/g++.dg/template/op1.C @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 04ced10e8804
children
line wrap: on
line source

template <class T> struct X {
    typedef int type;
};

template <class T> struct O {
    struct I {
        operator typename X<T>::type ();
    };
};

template <class T>
O<T>::I::operator typename X<T>::type () {}