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

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