Files
c3c/test/test_suite/macros/macro_import_res_private.c3t

26 lines
282 B
Plaintext

// #target: macos-x64
module foo;
fn void foo1() @private
{}
module bar;
import foo @public;
macro bar1()
{
foo::foo1();
}
module baz;
import bar;
fn void test()
{
bar::bar1();
}
/* #expect: baz.ll
define void @baz.test() #0 {
entry:
call void @foo.foo1()
ret void
}