Files
c3c/test/test_suite/errors/simple_static_failable.c3t

24 lines
318 B
C

// #target: macos-x64
module foo;
fault Blurg
{
Y
}
fn void main()
{
static int! x = 120;
int! i = Blurg.Y!;
}
/* #expect: foo.ll
define void @foo.main() #0 {
entry:
%i = alloca i32, align 4
%i.f = alloca i64, align 8
store i64 ptrtoint (i8* @foo.Blurg.Y to i64), i64* %i.f, align 8
ret void
}