xref: /llvm-project/flang/test/Driver/target-machine-error.f90 (revision f67b481098cc30567d0f50a2b21f8f57b92052bd)
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"'
7