From ed7d54651d2ef33dd6f644f23ba2fa64706e84db Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Sun, 31 Jul 2016 05:43:17 +0200 Subject: struct-init: Implement initializing subaggregates E.g. "struct { struct S s; int a;} = { others, 42 };" if 'others' is also a 'struct S'. Also when the value is a compound literal. See added testcases. --- tests/tests2/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/tests2/Makefile') diff --git a/tests/tests2/Makefile b/tests/tests2/Makefile index d8556ad..50cff85 100644 --- a/tests/tests2/Makefile +++ b/tests/tests2/Makefile @@ -54,7 +54,7 @@ all test: $(filter-out $(SKIP),$(TESTS)) # automatically generate .expect files with gcc: %.expect : - (gcc $*.c -o a.exe && ./a.exe $(ARGS)) >$*.expect 2>&1; rm -f a.exe + (gcc -w $*.c -o a.exe && ./a.exe $(ARGS)) >$*.expect 2>&1; rm -f a.exe # tell make not to delete .PRECIOUS: %.expect -- cgit v1.3.1