mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Compilation is now done with each module compiled together.
This commit is contained in:
committed by
Christoffer Lerno
parent
15a65d0c97
commit
9b86b00834
@@ -11,7 +11,7 @@ Foo g = { .b = 2.3 };
|
||||
Foo h = { .a = 23, .b = 2.3 };
|
||||
Foo i = { .b = 2.3, .a = 23 };
|
||||
|
||||
// #expect: union_codegen_const.ll
|
||||
// #expect: test.ll
|
||||
|
||||
@f = protected global { i32, [4 x i8] } { i32 23, [4 x i8] undef }, align 8
|
||||
@g = protected global %test.Foo { double 2.300000e+00 }, align 8
|
||||
|
||||
@@ -17,7 +17,7 @@ func void test()
|
||||
UnionB b = { .c = bar(), .b = {} };
|
||||
}
|
||||
|
||||
// #expect: union_codegen_overwrite_call.ll
|
||||
// #expect: test.ll
|
||||
|
||||
entry:
|
||||
%b = alloca %test.UnionB, align 8
|
||||
|
||||
@@ -17,7 +17,7 @@ func void test(Blend_Map_Entry* foo)
|
||||
{
|
||||
}
|
||||
|
||||
// #expect: union_in_struct.ll
|
||||
// #expect: test.ll
|
||||
|
||||
|
||||
%test.Blend_Map_Entry = type { %test.vals }
|
||||
|
||||
Reference in New Issue
Block a user