1; RUN: cd %T 2; RUN: rm -f a.out a.out.lto.bc a.out.lto.o 3; RUN: llvm-as %s -o %t.o 4; RUN: llvm-as %p/Inputs/save-temps.ll -o %t2.o 5; RUN: wasm-ld -r -o a.out %t.o %t2.o -save-temps 6; RUN: llvm-nm a.out | FileCheck %s 7; RUN: llvm-nm a.out.0.0.preopt.bc | FileCheck %s 8; RUN: llvm-nm a.out.lto.o | FileCheck %s 9; RUN: llvm-dis a.out.0.0.preopt.bc 10 11target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" 12target triple = "wasm32-unknown-unknown" 13 14define void @foo() { 15 ret void 16} 17 18; CHECK: T bar 19; CHECK: T foo 20