1; RUN: llc -O2 -filetype=obj %s -o %t.o
2
3target triple = "wasm32-unknown-unknown"
4
5; Wasm silently ignores custom sections for code.
6; We had a bug where this cause a crash
7
8define hidden void @call_indirect() section "some_section_name" {
9entry:
10 ret void
11}
12