code wiki / (root) / nx_fgt_t2.nx

nx_fgt_t2.nx source

↩ module page · 10 lines · 287 B

1// forge gate fixture candidate: builds GREEN, runs exit 0, but prints EXTRA bytes (judge negctl) 2import "nx_syscalls.nx" 3import "nx_lib_std.nx" 4 5func main(argc: i64, argv: *i64) -> i64 { 6 std_puts("FORGE-T2 ok\n" as *u8) 7 std_puts("EXTRA\n" as *u8) 8 sys_exit(0) 9 return 0 10}