summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/conv7.C
blob: 86758b3623d4ed2a952bead4f028cbf6028840db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-options "-fabi-version=0" }

template <typename T> struct S {
    struct I{};
    operator I* ();
};

template <typename T> struct S2 : S<T> {
    operator typename S<T>::I* ();
};

template struct S2<int>;