We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c98e60 commit ae93021Copy full SHA for ae93021
2 files changed
src/bool/bad_bool.f90
@@ -5,8 +5,10 @@ module bad_bool
5
6
implicit none
7
8
+integer, parameter :: lk = 8
9
+
10
type, bind(C) :: bool_args
- logical(kind=selected_logical_kind(64)) :: value
11
+ logical(8) :: value
12
integer(C_INT) :: dummy
13
end type
14
test/bool/CMakeLists.txt
@@ -53,3 +53,4 @@ target_link_libraries(cxx_fortran_bad_bool PRIVATE bad_bool_fortran)
53
add_test(NAME Cpp_Fortran_bad_bool COMMAND ${CMAKE_COMMAND} -E env $<TARGET_FILE:cxx_fortran_bad_bool>)
54
55
set_tests_properties(C_Fortran_bad_bool Fortran_C_bad_bool Cpp_Fortran_bad_bool PROPERTIES WILL_FAIL true)
56
+set_target_properties(c_fortran_bool c_fortran_bad_bool PROPERTIES LINKER_LANGUAGE C)
0 commit comments