1 ; RUN: llvm-as %s -o %t1.o
2 ; RUN: wasm-ld %t1.o -r -o %t
3 ; RUN: llvm-readobj --symbols %t | FileCheck %s
7 ; CHECK-NEXT: Name: foo
8 ; CHECK-NEXT: Type: FUNCTION (0x0)
9 ; CHECK-NEXT: Flags [ (0x0)
11 ; CHECK-NEXT: ElementIndex: 0x0
15 target datalayout = "e-m:e-p:32:32-p10:8:8-p20:8:8-i64:64-n32:64-S128"
16 target triple = "wasm32-unknown-unknown"
23 define internal void @bar() {