WebAssembly: emit `(func (param t) (result t))` s-expressions
[oota-llvm.git] / test / CodeGen / WebAssembly / globl.ll
1 ; RUN: llc < %s -asm-verbose=false | FileCheck %s
2
3 ; Test that the `.globl` directive is commented out.
4
5 target datalayout = "e-p:32:32-i64:64-v128:8:128-n32:64-S128"
6 target triple = "wasm32-unknown-unknown"
7
8 ; CHECK-NOT: globl
9 ; CHECK: ;; .globl foo
10 ; CHECK-NOT: globl
11 ; CHECK-LABEL: (func $foo
12 define void @foo() {
13   ret void
14 }