From 2ded245daabe04dde161ece241f0d1663a9dc3c9 Mon Sep 17 00:00:00 2001 From: parth121101 Date: Sun, 14 Jul 2024 20:08:28 +0530 Subject: [PATCH] tests: add error test --- tests/errors/ishftc_size.f90 | 3 +++ tests/tests.toml | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 tests/errors/ishftc_size.f90 diff --git a/tests/errors/ishftc_size.f90 b/tests/errors/ishftc_size.f90 new file mode 100644 index 0000000000..78339063c9 --- /dev/null +++ b/tests/errors/ishftc_size.f90 @@ -0,0 +1,3 @@ +program ishftc_size + print *, ishftc(10, 6, 4) +end program \ No newline at end of file diff --git a/tests/tests.toml b/tests/tests.toml index 7797d57ecd..4310298bc1 100644 --- a/tests/tests.toml +++ b/tests/tests.toml @@ -3986,6 +3986,10 @@ asr = true filename = "errors/sqrt_neg.f90" asr = true +[[test]] +filename = "errors/ishftc_size.f90" +asr = true + [[test]] filename = "errors/merge_bits_comp.f90" asr = true