llvm-project/flang/test/Driver/print-target-triple.f90

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
514 B
Fortran
Raw Normal View History

! Test that -print-target-triple prints correct triple
!-----------------------------------------
! RUN LINES
!-----------------------------------------
! RUN: %flang -print-target-triple 2>&1 --target=aarch64-linux-gnu \
! RUN: | FileCheck --check-prefix=AARCH64 %s
! RUN: %flang -print-target-triple 2>&1 --target=x86_64-linux-gnu \
! RUN: | FileCheck --check-prefix=X86_64 %s
!-----------------
! EXPECTED OUTPUT
!-----------------
! X86_64: x86_64-unknown-linux-gnu
! AARCH64: aarch64-unknown-linux-gnu