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

5 lines
130 B
Fortran

! RUN: %S/test_errors.sh %s %t %f18
!ERROR: IF statement is not allowed in IF statement
IF (A > 0.0) IF (B < 0.0) A = LOG (A)
END