Skip to content

Commit

Permalink
Expression: Add missing implicit none to expr_visitor tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mlange05 committed Sep 6, 2024
1 parent eefed4d commit ad4b4d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions loki/expression/tests/test_expr_visitors.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def test_find_variables(frontend, tmp_path):
fcode = """
module test_mod
use external_mod, only: rick
implicit none
type my_type
real(kind=8) :: never
Expand Down Expand Up @@ -129,6 +130,7 @@ def test_substitute_expressions(frontend):

fcode = """
subroutine test_routine(n, a, b)
implicit none
integer, intent(in) :: n
real(kind=8), intent(inout) :: a, b(n)
real(kind=8) :: c(n)
Expand Down Expand Up @@ -181,6 +183,7 @@ def test_substitute_string_expressions(frontend):

fcode = """
subroutine test_routine(n, a, b)
implicit none
integer, intent(in) :: n
real(kind=8), intent(inout) :: a, b(n)
real(kind=8) :: c(n)
Expand Down

0 comments on commit ad4b4d8

Please sign in to comment.