`define checkd(gotv, expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got=%0d exp=%0d\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0);
// verilog_format: on
modulet;
typedefstruct{
inta;
intb;
intc;
}subsubstruct_t;
typedefstruct{
inta;
intb;
subsubstruct_tsubsub;
intc;
}substruct_t;
typedefsubstruct_tsubstruct_t_t;
typedefstruct{
inta;
intb;
substruct_t_tsub;
intc;
}struct_t;
// Constant value unpacked struct support is limited at the moment.
// Only localparams are supported, returning constant unpacked structure
// from function or passing unpacked structure as parameters is not