blob: ba9f6659d7d73f36912f896af2aafbe18009f91c [file] [log] [blame]
JF Bastien28928702015-08-25 22:23:15 +00001; RUN: llc < %s -asm-verbose=false | FileCheck %s
2
Dan Gohman0c6f5ac2016-01-07 03:19:23 +00003target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
Dan Gohmand934cb82017-02-24 23:18:00 +00004target triple = "wasm32-unknown-unknown-wasm"
JF Bastien28928702015-08-25 22:23:15 +00005
Dan Gohmane51c0582015-10-06 00:27:55 +00006; CHECK: .globl foo
7; CHECK-LABEL: foo:
JF Bastien28928702015-08-25 22:23:15 +00008define void @foo() {
9 ret void
10}
Derek Schuff7747d703e2016-12-01 00:11:15 +000011
12; Check import directives - must be at the end of the file
13; CHECK: .import_global bar{{$}}
14@bar = external global i32