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

8 lines
154 B
Fortran

! RUN: %python %S/test_errors.py %s %flang_fc1
implicit none
allocatable :: x
integer :: x
!ERROR: No explicit type declared for 'y'
allocatable :: y
end