FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / local-alloc1.C
blob2a3130906feebac5290583686ffaf7945adbb950
1 // Build don't link:
2 // Origin: Jakub Jelinek <jakub@redhat.com>
3 // Special g++ Options: -O0 -fpic
4 // Skip if target: cris-*-elf* cris-*-aout* mmix-*-*
6 struct bar {
7   bar() {}
8   double x[3];
9 };
11 static bar y[4];
13 void foo(int z)
15   bar w;
16   y[z] = w;