☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
980612-1.c
☽
☼
gcc/testsuite/gcc.c-torture/execute/980612-1.c
code
plain
raw
1
void abort (void);
2
void exit (int);
3
4
struct fd
5
{
6
unsigned char a;
7
unsigned char b;
8
} f = { 5 };
9
10
struct fd *g() { return &f; }
11
int h() { return -1; }
12
13
int main()
14
{
15
struct fd *f = g();
16
f->b = h();
17
if (((f->a & 0x7f) & ~0x10) <= 2)
18
abort ();
19
exit (0);
20
}