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 7ac8753 commit 6e4c314Copy full SHA for 6e4c314
debug/CMakeLists.txt
@@ -9,3 +9,4 @@ add_test(NAME BoundsFail COMMAND badbounds)
9
10
add_executable(nanmaxmin maxmin_nan.f90)
11
12
+add_executable(typecast typecast.f90)
debug/typecast.f90
@@ -0,0 +1,16 @@
1
+program typec
2
+!! What happens when variables of one type are assigned to another type
3
+
4
+implicit none
5
6
+logical :: x,y,z
7
8
+x = 12343
+y = 0
+z = -1
+print *, '12343: true',x
13
+print *, '0: false',y
14
+print *, '-1: true', z
15
16
+end program
0 commit comments