Fixed tests.

This commit is contained in:
Christoffer Lerno
2025-08-23 19:43:01 +02:00
parent a004cd3d03
commit 48318c3ad4
2 changed files with 5 additions and 5 deletions

View File

@@ -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
}

View File

@@ -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
}