summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/WebAssembly/call.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/call.ll')
-rw-r--r--llvm/test/CodeGen/WebAssembly/call.ll9
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/call.ll b/llvm/test/CodeGen/WebAssembly/call.ll
index e5d468b3cd1..c605285d521 100644
--- a/llvm/test/CodeGen/WebAssembly/call.ll
+++ b/llvm/test/CodeGen/WebAssembly/call.ll
@@ -5,13 +5,14 @@
target datalayout = "e-p:32:32-i64:64-v128:8:128-n32:64-S128"
target triple = "wasm32-unknown-unknown"
-declare void @nullary()
+declare void @void_nullary()
+declare void @int32_nullary()
-; CHECK-LABEL: call_nullary:
+; CHECK-LABEL: call_void_nullary:
; CHECK-NEXT: (call @foo)
; CHECK-NEXT: (return)
-define void @call_nullary() {
- call void @nullary()
+define void @call_void_nullary() {
+ call void @void_nullary()
ret void
}
OpenPOWER on IntegriCloud