brintos

brintos / llvm-project-archived public Read only

0
0
Text · 496 B · 075feec Raw
15 lines · plain
1; RUN: llc < %s --mtriple=wasm32-unknown-unknown -asm-verbose=false -mattr=+reference-types | FileCheck %s2; Verify that types are output for external symbols, even in the absence of any defined functions3 4;      CHECK: .type foo,@object5; CHECK-NEXT: .section .data.foo,"",@6; CHECK-NEXT: .globl foo7@foo = local_unnamed_addr global ptr @bar, align 48 9; CHECK-LABEL: foo:10;  CHECK-NEXT: .int32 bar11;  CHECK-NEXT: .size foo, 412 13; CHECK: .functype bar (i32) -> (i32)14declare i32 @bar(i32 noundef)15