Skip to content

Commit 764757a

Browse files
committed
doc
1 parent de8f974 commit 764757a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

test/bool/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ integer, parameter :: lk = selected_logical_kind(1)
55
end program"
66
f23logical_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
810
set(logical_bytes 8)
911
math(EXPR logical_bits "${logical_bytes}*8")
1012

@@ -50,6 +52,10 @@ add_executable(cxx_c_bool main.cpp)
5052
target_link_libraries(cxx_c_bool PRIVATE bool_c)
5153
add_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

5460
add_executable(fortran_c_bad_bool bad_interface.f90)
5561
target_link_libraries(fortran_c_bad_bool PRIVATE bool_c)

0 commit comments

Comments
 (0)