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 2ae3e03 commit 64fec82Copy full SHA for 64fec82
test/nullptr/main.f90
@@ -19,6 +19,8 @@ function nullchar(b) bind(C)
19
20
type(c_ptr) :: ptr
21
22
+if (c_associated(ptr)) error stop "nullptr should not be c_associated"
23
+
24
if (.not. c_associated(nullchar(f))) error stop "nullptr should not be detected"
25
26
ptr = nullchar(t)
0 commit comments