OSDN Git Service

fix
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / comdat2-aux.cc
1 template <class T>
2 struct S {
3   static int f ()
4   {
5     static int i;
6     return ++i;
7   }
8   S () {};
9   ~S () {};
10 };
11
12 typedef S<int> a;
13
14 int g ()
15 {
16   return a::f();
17 }