Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / wasm-toolchain-lto.c
blob0de5cbf71e28a42c4725a076518242fa63622817
1 // A basic C link command-line with optimization with known OS and LTO enabled.
3 // RUN: %clang -### -O2 -flto --target=wasm32-wasi --sysroot=/foo %s 2>&1 \
4 // RUN: | FileCheck -check-prefix=LINK_OPT_KNOWN %s
5 // LINK_OPT_KNOWN: "-cc1" {{.*}} "-o" "[[temp:[^"]*]]"
6 // LINK_OPT_KNOWN: wasm-ld{{.*}}" "-L/foo/lib/wasm32-wasi/llvm-lto/