Mercurial > hg > Members > tobaru > cbc > CbC_llvm
diff test/CodeGen/WebAssembly/globl.ll @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 7d135dc70f03 |
children |
line wrap: on
line diff
--- a/test/CodeGen/WebAssembly/globl.ll Fri Nov 25 19:14:25 2016 +0900 +++ b/test/CodeGen/WebAssembly/globl.ll Fri Oct 27 17:07:41 2017 +0900 @@ -1,10 +1,14 @@ ; 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" +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