verilator/test_regress/t/t_struct_notfound_bad.v

16 lines
338 B
Verilog

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed into the Public Domain, for any use,
// without warranty, 2012 by Wilson Snyder.
module t (/*AUTOARG*/);
typedef struct packed { bit m; } struct_t;
struct_t s;
initial begin
s.nfmember = 0; // Member not found
$finish;
end
endmodule