• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -asm-verbose=false | FileCheck %s
2
3target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
4target triple = "wasm32-unknown-unknown"
5
6; CHECK: .globl foo
7; CHECK: .type foo,@function
8; CHECK-LABEL: foo:
9; CHECK: .size foo,
10define i32* @foo() {
11  ret i32* @bar
12}
13
14; CHECK: .type bar,@object
15; CHECK: .globl bar
16; CHECK: .size bar, 4
17@bar = global i32 2
18