mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 11:21:49 +00:00
This matches the CodeGen tests and makes it a little easy to run these from the command line manually. Differential Revision: https://reviews.llvm.org/D42440 llvm-svn: 323275
12 lines
265 B
LLVM
12 lines
265 B
LLVM
; RUN: llc -O2 -filetype=obj %s -o %t.o
|
|
|
|
target triple = "wasm32-unknown-unknown-wasm"
|
|
|
|
; Wasm silently ignores custom sections for code.
|
|
; We had a bug where this cause a crash
|
|
|
|
define hidden void @call_indirect() section "some_section_name" {
|
|
entry:
|
|
ret void
|
|
}
|