Files
c3c/test/test_suite/struct/const_zero_init_1360.c3t
Christoffer Lerno 8b49e6c14d Rename def to alias.
2025-03-13 11:22:27 +01:00

27 lines
435 B
Plaintext

// #target: macos-x64
module test;
import std::collections::map;
alias Foo = HashMap{String, HashMap{String, String}};
macro test()
{
HashMap{String, String} map0;
map0["c3c"] = {};
Foo map;
map["c3c"] = {};
map["c3c"] = { {}, null, 1 ,2 ,2 };
HashMap{String, HashMap{String, String}} map2;
map2["c3c"] = {};
map2["c3c"] = { {}, null, 1 ,2 ,2 };
}
fn void main()
{
test();
}
/* #expect: test.ll
main