Files
c3c/test/test_suite/struct/const_zero_init_1360.c3t
2025-03-03 00:32:20 +01:00

27 lines
433 B
Plaintext

// #target: macos-x64
module test;
import std::collections::map;
def 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