Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.ns / ns2.C
blob0f65cbc5438b66d351ef4103fd6159d55ca817ae
1 // { dg-do run  }
2 namespace foo{
3  struct X{
4    int i;
5    void f();
6    static int k1,k2;
7  };
8  void X::f(){}
9  int var;
10  int X::k1;
13 using namespace foo;
14 X zzz;
15 int X::k2;
17 void andere_funktion()
19   zzz.f();
20   var=4;
23 int main(int,char**)
25   andere_funktion();
26   return 0;