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

8 lines
170 B
Fortran

! RUN: %S/test_errors.sh %s %t %flang_fc1 -fimplicit-none
!ERROR: No explicit type declared for 'f'
function f()
!ERROR: No explicit type declared for 'x'
f = x
end