repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
local-alloc1.C
blob
2a3130906feebac5290583686ffaf7945adbb950
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-*-*
5
6
struct bar {
7
bar() {}
8
double x[3];
9
};
10
11
static bar y[4];
12
13
void foo(int z)
14
{
15
bar w;
16
y[z] = w;
17
}