mirror of
https://github.com/opnsense/src.git
synced 2026-06-03 13:58:30 -04:00
14 lines
347 B
LLVM
14 lines
347 B
LLVM
; RUN: llc < %s -asm-verbose=false | FileCheck %s
|
|
|
|
target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
|
|
target triple = "wasm32-unknown-unknown-wasm"
|
|
|
|
; CHECK: .globl foo
|
|
; CHECK-LABEL: foo:
|
|
define void @foo() {
|
|
ret void
|
|
}
|
|
|
|
; Check import directives - must be at the end of the file
|
|
; CHECK: .import_global bar{{$}}
|
|
@bar = external global i32
|