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
testsuite/
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20020206-1.c
1
struct A {
2
unsigned int a, b, c;
3
};
4
5
extern void abort (void);
6
extern void exit (int);
7
8
struct A bar (void)
9
{
10
return (struct A) { 176, 52, 31 };
11
}
12
13
void baz (struct A *a)
14
{
15
if (a->a != 176 || a->b != 52 || a->c != 31)
16
abort ();
17
}
18
19
int main ()
20
{
21
struct A d;
22
23
d = ({ ({ bar (); }); });
24
baz (&d);
25
exit (0);
26
}