forked from alex-eg/sex
The diagnostics are what these forms are for -- a match that leaves a variant out is the thing C cannot say -- and until now every one of them was checked by hand and none by the suite. The two registries refuse a second declaration of one name, which is per translation unit and not per process, so semen-process clears them on the way in. sexc compiles one file per process and never noticed; a suite that compiles forty in one did.
18 lines
340 B
Scheme
18 lines
340 B
Scheme
(import
|
|
test)
|
|
|
|
(include "basic.scm")
|
|
(include "semen.scm")
|
|
(include "reader.scm")
|
|
(include "fmt-c-writer.scm")
|
|
(include "utils.scm")
|
|
(include "line-directives.scm")
|
|
(include "codegen.scm")
|
|
(include "encapsulation.scm")
|
|
(include "args.scm")
|
|
(include "types.scm")
|
|
(include "infer.scm")
|
|
|
|
;;; Should be the last in the test suite
|
|
(test-exit)
|