summaryrefslogtreecommitdiff
path: root/flang/test/Driver/target-machine-error.f90
blob: 8f6522de1f617c903b90632c2e95f0e350a84a73 (plain)
1
2
3
4
5
6
! RUN: not %flang  --target=some-invalid-triple -S  %s -o \
! RUN:   /dev/null 2>&1 | FileCheck %s
! RUN: not %flang_fc1 -triple some-invalid-triple -S %s -o \
! RUN:   /dev/null 2>&1 | FileCheck %s

! CHECK: error: unable to create target: 'No available targets are compatible with triple "some-invalid-triple"'