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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
236 B
Fortran
Raw Normal View History

! RUN: %S/test_errors.sh %s %t %f18
integer :: x
!ERROR: The type of 'x' has already been declared
real :: x
integer(8) :: i
parameter(i=1,j=2,k=3)
integer :: j
!ERROR: The type of 'k' has already been implicitly declared
real :: k
end