Skip to content

Commit a67eeb1

Browse files
committed
doc
1 parent f479e42 commit a67eeb1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/bool/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
When interfacing between C or C++ and Fortran, the `logical(C_BOOL)` type is used to represent boolean values.
44
This test demonstrates how to use `logical(C_BOOL)` in Fortran and how it interacts with C and C++ code.
55

6-
The "test/bool/bad_interface.f90" and "src/bool/bad_bool.f90" files contain examples of incorrect usage of `logical(C_BOOL)`, which should lead to compilation errors.
6+
The "test/bool/bad_interface.f90" and "src/bool/bad_bool.f90" files contain examples of incorrect usage of `logical(C_BOOL)`, which should lead to runtime issues by messing up the values of following dummy arguments.
77

88
[nvfortran](https://forums.developer.nvidia.com/t/nvfortran-c-bool-bind-c-not-improper-value/291896)
99
supports F2018 standard `C_BOOL` if `nvfortran -Munixlogical` is used.

0 commit comments

Comments
 (0)