From 48318c3ad4ea3ec633d8d6c143b15c8591b323cb Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Sat, 23 Aug 2025 19:43:01 +0200 Subject: [PATCH] Fixed tests. --- test/test_suite/lambda/lambda_attributes.c3t | 4 ++-- test/test_suite/lambda/lambda_global_matches.c3t | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/test_suite/lambda/lambda_attributes.c3t b/test/test_suite/lambda/lambda_attributes.c3t index a7072bfd8..fda154a9b 100644 --- a/test/test_suite/lambda/lambda_attributes.c3t +++ b/test/test_suite/lambda/lambda_attributes.c3t @@ -8,14 +8,14 @@ IntFn lambda_naked @export = fn () @naked { asm("ret"); }; /* #expect: test.ll ; Function Attrs: naked nounwind uwtable -define internal i32 @"test.$global$lambda2"() #0 { +define i32 @"test.$global$lambda2"() #0 { entry: call void asm sideeffect alignstack "ret", "~{dirflag},~{fpsr},~{flags}"() unreachable } ; Function Attrs: nounwind uwtable -define internal i32 @"test.$global$lambda1"() #1 { +define i32 @"test.$global$lambda1"() #1 { entry: ret i32 1 } \ No newline at end of file diff --git a/test/test_suite/lambda/lambda_global_matches.c3t b/test/test_suite/lambda/lambda_global_matches.c3t index c033de692..581a7c9d9 100644 --- a/test/test_suite/lambda/lambda_global_matches.c3t +++ b/test/test_suite/lambda/lambda_global_matches.c3t @@ -102,17 +102,17 @@ entry: ret i32 0 } -define internal i32 @"test.$global$lambda3"() #0 { +define i32 @"test.$global$lambda3"() #0 { entry: ret i32 2 } -define internal i32 @"test.$global$lambda2"() #0 { +define i32 @"test.$global$lambda2"() #0 { entry: ret i32 1 } -define internal i32 @"test.$global$lambda1"() #0 { +define i32 @"test.$global$lambda1"() #0 { entry: ret i32 0 }