OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Backported from mainline
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20000707-1.c
1
extern void abort(void);
2
extern void exit(int);
3
4
struct baz {
5
int a, b, c;
6
};
7
8
void
9
foo (int a, int b, int c)
10
{
11
if (a != 4)
12
abort ();
13
}
14
15
void
16
bar (struct baz x, int b, int c)
17
{
18
foo (x.b, b, c);
19
}
20
21
int
22
main ()
23
{
24
struct baz x = { 3, 4, 5 };
25
bar (x, 1, 2);
26
exit (0);
27
}