From 22a728833d79b6cb63b14e2aad5af2b595105e84 Mon Sep 17 00:00:00 2001 From: pca006132 Date: Fri, 27 Aug 2021 16:50:53 +0800 Subject: [PATCH] nac3core: fixed broken test --- nac3core/src/codegen/test.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nac3core/src/codegen/test.rs b/nac3core/src/codegen/test.rs index e0180b5f8..6f7f7b1ab 100644 --- a/nac3core/src/codegen/test.rs +++ b/nac3core/src/codegen/test.rs @@ -326,9 +326,7 @@ fn test_simple_call() { ret i32 %mul } - declare i32 @foo_0(i32) - - define i32 @foo_0.1(i32 %0) { + define i32 @foo_0(i32 %0) { init: %a = alloca i32, align 4 store i32 %0, i32* %a, align 4