aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/local3.C
blob: 5a01a44956708e19501b7a09c71cd03311557dfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
 template<class T>
 void f(const T&)
 {
         struct B {
	   
                 void g (T);
         };
         B b;
 }
 void g()
 {
         f(42);
 }