0275-struct.c - scc - simple c99 compiler
HTML git clone git://git.simple-cc.org/scc
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
0275-struct.c (134B)
---
1 struct S { int a; int b; };
2 struct S const s = {1, 2};
3
4 int
5 main()
6 {
7 if(s.a != 1)
8 return 1;
9 if(s.b != 2)
10 return 2;
11 return 0;
12 }