Debian Codegraph @

gcc/testsuite/gfortran.dg/pr93365.f90

raw
1 ! { dg-do run }
2
3 program p
4 logical, parameter :: a(0) = .true.
5 real, parameter :: b(0) = 0
6 complex, parameter :: c(0) = 0
7 integer :: d
8 data d /a%kind/
9 data e /b%kind/
10 data f /c%kind/
11 if (d .ne. kind(a)) stop 1
12 if (e .ne. kind(b)) stop 2
13 if (f .ne. kind(c)) stop 3
14 end
15