Debian Codegraph @

gcc/testsuite/gfortran.dg/intrinsic_short-long.f90

raw
1 ! { dg-do compile }
2 !
3 ! Checking for removal of SHORT and LONG intrinsics.
4 !
5 real,parameter :: a=3.1415927
6 integer :: i
7
8 i=SHORT(a) ! { dg-error "has been removed" }
9 i=LONG(a) ! { dg-error "has been removed" }
10
11 end