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
* decl.c (make_rtl_for_local_static): Don't create register RTL
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
static10.C
blob
432e07b9aca3a867403b5eb54a487502baeb211e
1
// Build don't link:
2
// Origin: Ulrich Drepper <drepper@cygnus.com>
3
// Special g++ Options: -w
4
5
struct st
6
{
7
int a;
8
};
9
10
int
11
foo (int a)
12
{
13
static const st i = { 0 };
14
15
if (i.a == a)
16
return 0;
17
}