bolt/deps/llvm-18.1.8/flang/test/Driver/multiple-actions-error.f95
2025-02-14 19:21:04 +01:00

8 lines
321 B
Fortran

! Verify that the frontend driver error-out if multiple actions are specified
! RUN: not %flang_fc1 -E -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix=ERROR
! RUN: not %flang_fc1 -fsyntax-only -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix=ERROR
! ERROR: error: Only one action option is allowed
end progream