Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / expr / crash2.C
blob5379bb159d1b151224e7547da1f501e53da72c8f
1 // PR c++/14267
2  
3 class foo {
4 public: static int& x;
5 };
6 int temp;
7 int& foo::x=temp;
9 int main() {
10   int x = 3;
11   &foo::x = x; // { dg-error "" }
12   return 0;