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

8 lines
181 B
Fortran

! RUN: not %flang_fc1 -fsyntax-only %s 2>&1 | FileCheck %s
! Ensure that old-style PARAMETER statements are disabled by default.
!CHECK: error: expected '('
parameter x = 666
end