aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb13.C
blob: f0e48484302b59488c676f75b49eb6c6b08cd90d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Build don't link:
template<class T>
class Array {
public:
    typedef T T_numtype;
};

template<class T_array>
void f(T_array, typename T_array::T_numtype)
{
}

void g()
{
    f(Array<float>(), float());
}