2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / template / func1.C
blob0d1677060c37f10305bd325d981f1e500c47378e
1 template <typename T1,typename T2>
2 inline void f(const T1&,const T2&) { }
4 template <typename T1,typename T2,void F(const T1&,const T2&)>
5 struct A {
6     template <typename T> void g(T& i) { }
7 };
9 int main() {
10     int i;
11     A<int,int,f> a;
12     a.g(i);