RISC-V: Refactor Dynamic LMUL codes
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr67524.f90
blob10a3b6e38406cda733c9b6cf3a777809132d8baf
1 ! { dg-do run }
2 module m
3 implicit character(8) (a-z)
4 contains
5 function f(x)
6 integer :: x
7 integer :: f
8 real :: e
9 f = x
10 return
11 entry e(x)
12 e = x
13 end
14 end module
16 program p
17 use m
18 if (f(1) /= 1) STOP 1
19 if (e(1) /= 1.0) STOP 2
20 end