[WebAssembly] Fix asan issue from https://reviews.llvm.org/D121349
[llvm-project.git] / flang / test / Driver / target.f90
blobbdcf139e9f4b8453d10d15f4122d012f4dabb73f
1 ! Test that --target indeed sets the target
3 !-----------------------------------------
4 ! RUN LINES
5 !-----------------------------------------
6 ! RUN: %flang --target=unknown-unknown-unknown -emit-llvm -c %s \
7 ! RUN: -o %t.o -### 2>&1 | FileCheck %s
9 !-----------------
10 ! EXPECTED OUTPUT
11 !-----------------
12 ! CHECK: Target: unknown-unknown-unknown
13 ! CHECK: "-triple" "unknown-unknown-unknown"