0155-struct_compl.c - scc - simple c99 compiler
(HTM) git clone git://git.simple-cc.org/scc
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
0155-struct_compl.c (143B)
---
1 extern struct X x;
2 int foo();
3
4 int main()
5 {
6 extern struct X x;
7 return &x == 0;
8 }
9
10 struct X {int v;} x;
11
12 int foo()
13 {
14 x.v = 0;
15 return x.v;
16 }