Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / riscv-args.c
blobcab08e5b0f811e89f55a900697233b6bc1e03e5e
1 // Check the arguments are correctly passed
3 // Make sure -T is the last with gcc-toolchain option
4 // RUN: %clang -### --target=riscv32 --gcc-toolchain= -Xlinker --defsym=FOO=10 -T a.lds -u foo %s 2>&1 \
5 // RUN: | FileCheck -check-prefix=CHECK-LD %s
6 // CHECK-LD: {{.*}} "--defsym=FOO=10" {{.*}} "-u" "foo" {{.*}} "-T" "a.lds"