ladder/test/sysinfo.ld · 581 字节 · 下载原文
(* sysinfo.ld: CALLJSON(#573) self-test.
NOTE (corrected 2026-10-10): this used to say "Ladder is a PLC-style frontend: it
has no string-argument function calls, so this file only proves the module still
links". The string-argument half is no longer true -- measured, Ladder passes
string arguments correctly, and calls work from both statement and expression
position; see test/libs.ld, whose very first probe takes two string arguments and
gets 1 back. This file is still only a link check, because it has nothing else to
assert about CALLJSON. *)