Skip to content

Commit 26dc01a

Browse files
committed
Add test for f_source%link_libraries in test_csource
1 parent 6231b2c commit 26dc01a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/fpm_test/test_source_parsing.f90

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,11 @@ subroutine test_csource(error)
643643
return
644644
end if
645645

646+
if (allocated(f_source%link_libraries)) then
647+
call test_failed(error,'Unexpected link_libraries - expecting unallocated')
648+
return
649+
end if
650+
646651
if (.not.('proto.h' .in. f_source%include_dependencies)) then
647652
call test_failed(error,'Missing file in include_dependencies')
648653
return

0 commit comments

Comments
 (0)