Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / other / static1.C
blob09e17d4b5ba7d5fc6a2c4580a2dc3a275a5bad51
1 // PR c++/9574
2 // Origin: fche@redhat.com and bangerth@dealii.org
3 // The new parser ICE on this test and then it could 
4 //  not find z in bar::bar().
6 // { dg-do compile }
8 struct X {
9   void operator[](const int& __k);
11 struct foo {
12   static X x;
14 struct bar {
15   int z;
16   bar () { foo::x[z]; };