From ecf874744880c9df63a76b84bfa4e19e0be2f3be Mon Sep 17 00:00:00 2001 From: HarshitaKalani Date: Tue, 6 Aug 2024 22:00:27 +0530 Subject: [PATCH] test: update test references --- tests/reference/asr-sign_01-62b270e.json | 13 +++++++++++++ tests/reference/asr-sign_01-62b270e.stderr | 5 +++++ 2 files changed, 18 insertions(+) create mode 100644 tests/reference/asr-sign_01-62b270e.json create mode 100644 tests/reference/asr-sign_01-62b270e.stderr diff --git a/tests/reference/asr-sign_01-62b270e.json b/tests/reference/asr-sign_01-62b270e.json new file mode 100644 index 0000000000..52c1cc68b0 --- /dev/null +++ b/tests/reference/asr-sign_01-62b270e.json @@ -0,0 +1,13 @@ +{ + "basename": "asr-sign_01-62b270e", + "cmd": "lfortran --show-asr --no-color {infile} -o {outfile}", + "infile": "tests/errors/sign_01.f90", + "infile_hash": "467c2bd094955c085a80d6f4eb00ad122dfb895a2327a02ae62f1836", + "outfile": null, + "outfile_hash": null, + "stdout": null, + "stdout_hash": null, + "stderr": "asr-sign_01-62b270e.stderr", + "stderr_hash": "dab94d75469b4260c70326c06698d247c7f9bbe6c0aeebd631d20ab0", + "returncode": 2 +} \ No newline at end of file diff --git a/tests/reference/asr-sign_01-62b270e.stderr b/tests/reference/asr-sign_01-62b270e.stderr new file mode 100644 index 0000000000..c2b5d85d5d --- /dev/null +++ b/tests/reference/asr-sign_01-62b270e.stderr @@ -0,0 +1,5 @@ +semantic error: Kind of all the arguments of Sign must be the same + --> tests/errors/sign_01.f90:2:14 + | +2 | print *, sign(1, 1_8) + | ^^^^^^^^^^^^