# RUN: llvm-mc -filetype=obj -triple amdgcn-amd-amdhsa -mcpu=gfx1031 --position-independent --relax-relocations %s -o %t.o
# We use lld-link on purpose to exercise -flavor.
-# RUN: lld-link -flavor gnu -shared %t.o
+# RUN: lld-link -flavor gnu -shared %t.o -o /dev/null
.text
.amdgcn_target "amdgcn-amd-amdhsa--gfx1031"
# libraries. This test checks such handling.
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o
-# RUN: ld.lld %t.o %S/Inputs/mips-gp-dips-corrupt-ver.so
+# RUN: ld.lld %t.o %S/Inputs/mips-gp-dips-corrupt-ver.so -o /dev/null
.global __start
.text