flang/test/Driver/multiple-actions-error.f95
raw| 1 | ! Verify that the frontend driver error-out if multiple actions are specified |
| 2 | |
| 3 | ! RUN: not %flang_fc1 -E -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix=ERROR |
| 4 | ! RUN: not %flang_fc1 -fsyntax-only -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix=ERROR |
| 5 | |
| 6 | ! ERROR: error: Only one action option is allowed |
| 7 | |
| 8 | end progream |