7 lines · plain
1# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %p/Inputs/ret32.s -o %t.ret32.o2# RUN: not wasm-ld -o %t.wasm %t.ret32.o %t.ret32.o 2>&1 | FileCheck %s3 4# CHECK: duplicate symbol: ret325# CHECK-NEXT: >>> defined in {{.*}}conflict.test.tmp.ret32.o6# CHECK-NEXT: >>> defined in {{.*}}conflict.test.tmp.ret32.o7