Skip to content

Commit

Permalink
test: add test to check error
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshitaKalani committed Aug 6, 2024
1 parent 5776900 commit 926b698
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/errors/sign_01.f90
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
program main
print *, sign(1, 1_8)
end program
4 changes: 4 additions & 0 deletions tests/tests.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4105,3 +4105,7 @@ asr = true
[[test]]
filename = "errors/modulo_01.f90"
asr = true

[[test]]
filename = "errors/sign_01.f90"
asr = true

0 comments on commit 926b698

Please sign in to comment.