OSDN Git Service

Fix PR c++/43704
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / op1.C
1 template <class T> struct X {
2     typedef int type;
3 };
4
5 template <class T> struct O {
6     struct I {
7         operator typename X<T>::type ();
8     };
9 };
10
11 template <class T>
12 O<T>::I::operator typename X<T>::type () {}