[WebAssembly] Fix asan issue from https://reviews.llvm.org/D121349
[llvm-project.git] / flang / test / Driver / print-target-triple.f90
blob1a73af6ec633e937dbca61991a9a4ba068bf8746
1 ! Test that -print-target-triple prints correct triple
3 !-----------------------------------------
4 ! RUN LINES
5 !-----------------------------------------
6 ! RUN: %flang -print-target-triple 2>&1 --target=aarch64-linux-gnu \
7 ! RUN: | FileCheck --check-prefix=AARCH64 %s
9 ! RUN: %flang -print-target-triple 2>&1 --target=x86_64-linux-gnu \
10 ! RUN: | FileCheck --check-prefix=X86_64 %s
12 !-----------------
13 ! EXPECTED OUTPUT
14 !-----------------
15 ! X86_64: x86_64-unknown-linux-gnu
16 ! AARCH64: aarch64-unknown-linux-gnu