Files
c3c/test/test_suite/abi/macho_section.c3t
2023-07-15 16:31:53 +02:00

16 lines
343 B
Plaintext

// #target: macos-x64
module test;
int z @section("__TEXT,__custoection");
int w @section("__TEXT,__custoection");
fn void main()
{
int a = z + w;
}
/* #expect: test.ll
@test.z = local_unnamed_addr global i32 0, section "__TEXT,__custoection", align 4
@test.w = local_unnamed_addr global i32 0, section "__TEXT,__custoection", align 4