0046-inits.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
---
0046-inits.c (141B)
---
1 int x = 5;
2 long y = 6;
3 int *p = &x;
4
5 int
6 main()
7 {
8 if (x != 5)
9 return 1;
10 if (y != 6)
11 return 2;
12 if (*p != 5)
13 return 3;
14 return 0;
15 }
16