mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Dynamic dispatch.
This commit is contained in:
committed by
Christoffer Lerno
parent
2e498a426e
commit
b794c893d6
@@ -20,10 +20,10 @@ fn Foo getFoo(Foo f)
|
||||
|
||||
/* #expect: test.ll
|
||||
|
||||
%.introspect = type { i8, i64, i64, i64, [0 x i64] }
|
||||
%.introspect = type { i8, ptr, i64, i64, i64, [0 x i64] }
|
||||
%Foo = type { i8, i8, i8 }
|
||||
|
||||
@"$ct.test.Foo" = linkonce constant %.introspect { i8 10, i64 3, i64 0, i64 3, [0 x i64] zeroinitializer }, align 8
|
||||
@"$ct.test.Foo" = linkonce global %.introspect { i8 10, ptr null, i64 3, i64 0, i64 3, [0 x i64] zeroinitializer }, align 8
|
||||
|
||||
; Function Attrs: nounwind
|
||||
define i32 @test.testing() #0 {
|
||||
|
||||
Reference in New Issue
Block a user