1 ; RUN: llvm-as %s -o %t.o
2 ; RUN: wasm-ld %t.o %t.o -o %t.wasm -r
3 ; RUN: llvm-readobj --symbols %t.wasm | FileCheck %s
5 target datalayout = "e-m:e-p:32:32-p10:8:8-p20:8:8-i64:64-n32:64-S128"
6 target triple = "wasm32-unknown-unknown-wasm"
8 define weak void @f() {
14 ; CHECK-NEXT: Type: FUNCTION (0x0)
15 ; CHECK-NEXT: Flags [ (0x1)
16 ; CHECK-NEXT: BINDING_WEAK (0x1)
18 ; CHECK-NEXT: ElementIndex: 0x0