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
* gcc.c-torture/execute/20000412-1.c: Reduce some more.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
961223-1.c
1
struct s {
2
double d;
3
};
4
5
inline struct s
6
sub (struct s s)
7
{
8
s.d += 1.0;
9
return s;
10
}
11
12
main ()
13
{
14
struct s t = { 2.0 };
15
t = sub (t);
16
if (t.d != 3.0)
17
abort ();
18
exit (0);
19
}