xref: /llvm-project/llvm/test/tools/llvm-nm/wasm/local-symbols.ll (revision f3b4f99007cdcb3306484c9a39d31addc20aaa69)
1*f3b4f990SThomas Lively; RUN: llc -filetype=obj -mtriple=wasm32-unknown-unknown -o %t.o %s
231a2c809SSam Clegg; RUN: llvm-nm %t.o | FileCheck %s
331a2c809SSam Clegg
431a2c809SSam Clegg@foo = internal global i32 1, align 4
531a2c809SSam Clegg@bar = global i32 1, align 4
631a2c809SSam Clegg
731a2c809SSam Clegg; CHECK: 00000004 D bar
831a2c809SSam Clegg; CHECK: 00000000 d foo
9