aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/local3.C
blob: 4d6a5763b48d4169cb59f807e1ad8d0544fc8c4b (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);
 }