xref: /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/template/func1.C (revision c87b03e512fc05ed6e0222f6fb0ae86264b1d05b)
1 template <typename T1,typename T2>
f(const T1 &,const 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 {
gA6     template <typename T> void g(T& i) { }
7 };
8 
main()9 int main() {
10     int i;
11     A<int,int,f> a;
12     a.g(i);
13 }
14