0093-arrayinit.c - scc - simple c99 compiler
HTML git clone git://git.simple-cc.org/scc
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
0093-arrayinit.c (135B)
---
1 int a[3] = {0, 1, 2};
2
3 int
4 main()
5 {
6 if (a[0] != 0)
7 return 1;
8 if (a[1] != 1)
9 return 2;
10 if (a[2] != 2)
11 return 3;
12
13 return 0;
14 }