flang/test/Driver/target-machine-error.f90
raw| 1 | ! RUN: not %flang --target=some-invalid-triple -S %s -o \ |
| 2 | ! RUN: /dev/null 2>&1 | FileCheck %s |
| 3 | ! RUN: not %flang_fc1 -triple some-invalid-triple -S %s -o \ |
| 4 | ! RUN: /dev/null 2>&1 | FileCheck %s |
| 5 | |
| 6 | ! CHECK: error: unable to create target: 'No available targets are compatible with triple "some-invalid-triple"' |