scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 84753772d685f95f823893d08742c346d5a6f374
parent e69e81b1bc739988bad1e37c01c6d70a1a518a5a
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon,  3 Apr 2017 08:19:48 +0200

[tests] Add missed 0129-initi.c test

Diffstat:
Atests/execute/0129-initi.c | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/tests/execute/0129-initi.c b/tests/execute/0129-initi.c @@ -0,0 +1,12 @@ + +struct range { + long quant; +} *a; +long b; + +int +main() +{ + struct range r = a[0]; + b = r.quant; +}