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