File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ integer, parameter :: lk = selected_logical_kind(1)
55end program"
66f23logical_kind )
77
8+ # this is an arbitrary value we found provokes failure across OS and compilers.
9+ # this is not guaranteed to fail, so someday these "bad" tests may need to be removed
810set (logical_bytes 8)
911math (EXPR logical_bits "${logical_bytes} *8" )
1012
@@ -50,6 +52,10 @@ add_executable(cxx_c_bool main.cpp)
5052target_link_libraries (cxx_c_bool PRIVATE bool_c )
5153add_test (NAME Cpp_C_bool COMMAND cxx_c_bool )
5254
55+ # These WILL_FAIL tests might stop working someday - we just found a value that would fail for all
56+ # compilers we tried, but that might not always be the case.
57+ # If these tests start passing, they should be removed, but the "bad" interfaces should still be avoided in practice.
58+
5359
5460add_executable (fortran_c_bad_bool bad_interface.f90 )
5561target_link_libraries (fortran_c_bad_bool PRIVATE bool_c )
You can’t perform that action at this time.
0 commit comments