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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.dg
/
compat
/
init
/
init-ref2_x.C
blob
7fbec89b645ed0845aa99bc5e0590f3b4bf7e92d
1
extern "C" void abort (void);
2
extern void g (void);
3
extern void h (void);
4
5
int r;
6
int c;
7
int f ()
8
{
9
// Test that we only initialize i once.
10
if (++c > 1)
11
++r;
12
return 42;
13
}
14
15
void
16
init_ref2_x (void)
17
{
18
g ();
19
h ();
20
if (r != 0)
21
abort ();
22
}