test: expand golden C-codegen tests from 2 to 8 examples

Add golden tests for: structs, generics, algebraic_enums, enums,
methods, strings. Each test captures the expected C output from the
bootstrap compiler for regression detection.

Also remove leftover 'PARSER FIX V2 ACTIVE' debug print from parser.bux.
This commit is contained in:
2026-06-09 15:58:44 +03:00
parent 3ed5891de2
commit 265bda850d
20 changed files with 29235 additions and 2 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ selfhost: build
.PHONY: test-golden
GOLDEN_TESTS := hello fibonacci
GOLDEN_TESTS := hello fibonacci structs generics algebraic_enums enums methods strings
test-golden: build
@echo "=== Golden tests ==="