From 960646ac8a85ffbe9626342d4c5244ddfad8739d Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Thu, 9 May 2024 09:53:48 +0200 Subject: [PATCH] Patch test. --- .../statements/foreach_r_custom_macro.c3t | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/test/test_suite/statements/foreach_r_custom_macro.c3t b/test/test_suite/statements/foreach_r_custom_macro.c3t index fc5738b10..dadae8ba9 100644 --- a/test/test_suite/statements/foreach_r_custom_macro.c3t +++ b/test/test_suite/statements/foreach_r_custom_macro.c3t @@ -32,20 +32,7 @@ extern fn int printf(char *fmt, ...); /* #expect: test.ll -; ModuleID = 'test' -source_filename = "test" -target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" -target triple = "x86_64-apple-macosx10.13.0" -%.introspect = type { i8, i64, ptr, i64, i64, i64, [0 x i64] } -%Foo = type { %"int[]" } -%"int[]" = type { ptr, i64 } - -@"$ct.test.Foo" = linkonce global %.introspect { i8 10, i64 0, ptr null, i64 16, i64 0, i64 1, [0 x i64] zeroinitializer }, align 8 -@.__const = private unnamed_addr constant [3 x i32] [i32 1, i32 3, i32 10], align 4 -@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 - -; Function Attrs: nounwind uwtable define void @test.main() #0 { entry: %i = alloca [3 x i32], align 4 @@ -88,19 +75,3 @@ loop.body1: ; preds = %loop.body loop.exit: ; preds = %loop.body1, %loop.cond ret void } - -; Function Attrs: nounwind uwtable -declare i32 @printf(ptr, ...) #0 - -; Function Attrs: nounwind uwtable -define i32 @main(i32 %0, ptr %1) #0 { -entry: - call void @test.main() - ret i32 0 -} - -; Function Attrs: argmemonly nocallback nofree nounwind willreturn -declare void @llvm.memcpy.p0.p0.i32(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i32, i1 immarg) #1 - -attributes #0 = { nounwind uwtable "no-trapping-math"="true" "stack-protector-buffer-size"="8" } -attributes #1 = { argmemonly nocallback nofree nounwind willreturn } \ No newline at end of file