OSDN Git Service

PR c++/9335
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / func1.C
1 template <typename T1,typename T2>
2 inline void f(const T1&,const T2&) { }
3
4 template <typename T1,typename T2,void F(const T1&,const T2&)>
5 struct A {
6     template <typename T> void g(T& i) { }
7 };
8
9 int main() {
10     int i;
11     A<int,int,f> a;
12     a.g(i);
13 }