Skip to content

Commit

Permalink
Make test programs valid.
Browse files Browse the repository at this point in the history
  • Loading branch information
pratyai committed Nov 5, 2024
1 parent c9d61b6 commit 0f3943b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/fortran/array_attributes_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test_fortran_frontend_array_attribute_no_offset_symbol():
test_string = """
PROGRAM index_offset_test
implicit none
integer :: arrsize
integer, parameter :: arrsize = 5
double precision, dimension(arrsize) :: d
CALL index_test_function(d,arrsize)
end
Expand Down Expand Up @@ -159,8 +159,8 @@ def test_fortran_frontend_array_attribute_offset_symbol2():
test_string = """
PROGRAM index_offset_test
implicit none
integer :: arrsize
integer :: arrsize2
integer, parameter :: arrsize = 5
integer, parameter :: arrsize2 = 5
double precision, dimension(arrsize:arrsize2) :: d
CALL index_test_function(d, arrsize, arrsize2)
end
Expand Down Expand Up @@ -239,8 +239,8 @@ def test_fortran_frontend_array_offset_symbol():
test_string = """
PROGRAM index_offset_test
implicit none
integer :: arrsize
integer :: arrsize2
integer, parameter :: arrsize = 5
integer, parameter :: arrsize2 = 5
double precision :: d(arrsize:arrsize2)
CALL index_test_function(d, arrsize, arrsize2)
end
Expand Down

0 comments on commit 0f3943b

Please sign in to comment.