summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb13.C
blob: 40c454aae30171f7d5664ff2f00f1c187bb69cee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do assemble  }
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());
}