mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
Auto-import std::core. Fix module assignment of declarations. Introspection improvements. Deref null error panics in safe mode. Support for LLVM 15
This commit is contained in:
committed by
Christoffer Lerno
parent
df41caabdd
commit
b1d83e2ccd
@@ -1,4 +1,4 @@
|
||||
|
||||
// #target: macos-x64
|
||||
module test;
|
||||
|
||||
struct Point
|
||||
@@ -12,11 +12,11 @@ fn void test1()
|
||||
Point p = { 5, 6 };
|
||||
}
|
||||
|
||||
// #expect: test.ll
|
||||
/* #expect: test.ll
|
||||
|
||||
%Point = type { i32, i32 }
|
||||
|
||||
@introspect.Point = linkonce constant i8 1
|
||||
@.typeid.test.Point = linkonce constant { i8, i64 } { i8 10, i64 2 }, align 8
|
||||
@.__const = private unnamed_addr constant %Point { i32 5, i32 6 }, align 4
|
||||
|
||||
define void @test.test1() #0 {
|
||||
|
||||
Reference in New Issue
Block a user