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

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>;