llvm-project/flang/test/Semantics/resolve06.f90

8 lines
160 B
Fortran

! RUN: %B/test/Semantics/test_errors.sh %s %flang %t
implicit none
allocatable :: x
integer :: x
!ERROR: No explicit type declared for 'y'
allocatable :: y
end