diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-20 11:44:48 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-20 11:44:48 +0000 |
| commit | bfe2e75d7e3b372e55369677028429990c49bc54 (patch) | |
| tree | b64b0e999b428f7740c0cd2c4ec05d51a213ddd9 /tests/i/no-std/program.cps | |
| parent | a3335110dc4f1283cf1680e273cc9775b7e8c8ac (diff) | |
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 <noreply@anthropic.com>
Diffstat (limited to 'tests/i/no-std/program.cps')
| -rw-r--r-- | tests/i/no-std/program.cps | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
