Files
c3c/test/test_suite/generic/generic_distinct.c3t
2025-06-16 23:16:35 +02:00

24 lines
327 B
Plaintext

// #target: macos-x64
module test;
import test1;
typedef Foo = int;
fn void main()
{
Foo $f = 1;
test1::foo{$f}();
}
module test1 {FOO};
fn void foo() {}
/* #expect: test.ll
define void @test.main() #0 {
entry:
call void @"test1$test.Foo$1$.foo"()
ret void
}
declare extern_weak void @"test1$test.Foo$1$.foo"() #0