OSDN Git Service

add
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / warn1.C
1     template <class T>
2     struct S
3     {
4       struct R 
5       {
6         R();
7         ~R();
8       };
9
10       void foo()
11       {
12         R r;
13         int i;
14       }
15
16       S();
17       ~S();
18     };
19
20     void f()
21     {
22       S<int> si;
23       si.foo();
24     }