Idris2/tests/idris2/reg043/run
Edwin Brady 7d3e3e0719 Check sizes of buffers and strings in TTCs
They need to be positive or we can't make the buffer, which causes a
segfault. This happened when loading old TTCs with a different format.
Fixes #1503
2021-06-23 18:08:27 +01:00

7 lines
137 B
Plaintext
Executable File

mkdir -p build/ttc
echo "TT2This Is A Fake TTC" > build/ttc/Fake.ttc
$1 --no-color --console-width 0 --check TestFake.idr
rm -rf build