diff options
Diffstat (limited to 'tests/iii/multifile-missing-include')
| -rw-r--r-- | tests/iii/multifile-missing-include/case.json | 13 | ||||
| -rw-r--r-- | tests/iii/multifile-missing-include/lib.cps | 1 | ||||
| -rw-r--r-- | tests/iii/multifile-missing-include/program.cps | 2 |
3 files changed, 16 insertions, 0 deletions
diff --git a/tests/iii/multifile-missing-include/case.json b/tests/iii/multifile-missing-include/case.json new file mode 100644 index 0000000..f5b32c8 --- /dev/null +++ b/tests/iii/multifile-missing-include/case.json @@ -0,0 +1,13 @@ +{ + "sources": [ + "program.cps", + "lib.cps" + ], + "errors": [ + { + "reason": "cannot INCLUDE 'missing.cps': not given on the command line", + "line": 1, + "file": "program.cps" + } + ] +} diff --git a/tests/iii/multifile-missing-include/lib.cps b/tests/iii/multifile-missing-include/lib.cps new file mode 100644 index 0000000..af7b016 --- /dev/null +++ b/tests/iii/multifile-missing-include/lib.cps @@ -0,0 +1 @@ +CONSTANT Value = 1 diff --git a/tests/iii/multifile-missing-include/program.cps b/tests/iii/multifile-missing-include/program.cps new file mode 100644 index 0000000..772f3f2 --- /dev/null +++ b/tests/iii/multifile-missing-include/program.cps @@ -0,0 +1,2 @@ +INCLUDE "missing.cps" +OUTPUT 1 |
