Skip to content

Fix typo in compiler test description for check_finalize_on_end #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 11, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/compiler_test.f90
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ function test_ref_reference() result(tests)
tests = &
describe( &
"The compiler", &
[ it("finalizes a non-allocatable object on the LHS of an intrinsic assignment", check_lhs_object) &
[ it("finalizes a non-allocatable object on the LHS of an intrinsic assignment", check_lhs_object) &
,it("finalizes an allocated allocatable LHS of an intrinsic assignment", check_allocated_allocatable_lhs) &
,it("finalizes a target when the associated pointer is deallocated", check_target_deallocation) &
,it("finalizes an object upon explicit deallocation", check_finalize_on_deallocate) &
,it("finalizes a non-pointer non-allocatable array object at the END statement", check_finalize_on_end) &
,it("finalizes a non-pointer non-allocatable object at the END statement", check_finalize_on_end) &
,it("finalizes a non-pointer non-allocatable object at the end of a block construct", check_block_finalization) &
,it("finalizes a function reference on the RHS of an intrinsic assignment", check_rhs_function_reference) &
,it("finalizes a specification expression function result", check_specification_expression) &
Expand Down Expand Up @@ -98,7 +98,7 @@ function check_target_deallocation() result(result_)
end function

function check_allocatable_component_finalization() result(result_)
!! Tests 7.5.6.3, para. 2 ("allocatable entity is deallocated")
!! Tests 7.5.6.3, para. 2 ("allocatable entity is deallocated")
!! + 9.7.3.2, para. 6 ("INTENT(OUT) allocatable dummy argument is deallocated")
type(wrapper_t), allocatable :: wrapper
type(result_t) result_
Expand Down