Skip to content

Commit

Permalink
testing repeated calls to gf_finalize()
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Sep 26, 2023
1 parent bd437b2 commit fea89d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_getgb2.F90
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ program test_getgb2
call gf_finalize(iret)
if (iret .ne. 0) stop 5

! Call finalize again, should do nothing.
call gf_finalize(iret)
if (iret .ne. 0) stop 5

print *, 'OK!'
print *, 'SUCCESS!'
end program test_getgb2
Expand Down

0 comments on commit fea89d3

Please sign in to comment.