| 1 |
! { dg-additional-options "-O0 -Wno-analyzer-possible-null-dereference -Wno-analyzer-null-dereference -Wno-analyzer-malloc-leak" } |
| 2 |
|
| 3 |
program cb |
| 4 |
implicit none |
| 5 |
type :: jn |
| 6 |
real, allocatable :: ie |
| 7 |
character(len = :), allocatable :: e5 |
| 8 |
end type jn |
| 9 |
real, parameter :: gm = 5.0 |
| 10 |
|
| 11 |
block |
| 12 |
type(jn) :: r2 |
| 13 |
|
| 14 |
r2 = jn (gm, "") |
| 15 |
call vz (r2%ie, gm) |
| 16 |
end block |
| 17 |
contains |
| 18 |
subroutine vz (arg1, arg2) |
| 19 |
real :: arg1, arg2 |
| 20 |
if (arg1 .ne. arg2) STOP 1 |
| 21 |
end subroutine vz |
| 22 |
end program cb |