From bfe2e75d7e3b372e55369677028429990c49bc54 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 20 Oct 2026 11:44:48 +0000 Subject: feat(driver): embed and automatically link the standard library Add -no-std to disable default library loading and linking. Co-Authored-By: Claude Opus 5.5 --- tests/i/no-std/program.cps | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/i/no-std/program.cps (limited to 'tests/i/no-std/program.cps') diff --git a/tests/i/no-std/program.cps b/tests/i/no-std/program.cps new file mode 100644 index 0000000..feb369f --- /dev/null +++ b/tests/i/no-std/program.cps @@ -0,0 +1,4 @@ +INCLUDE_OBJ "__libc" +EXTERN "C" EXTERN_FUNCTION puts(C_STRING) RETURNS C_INT +CALL puts("C literal without the standard library"C) +OUTPUT 20 + 22 -- cgit v1.3.1-4-g156e