verilator/test_regress/t/t_struct_unused.v

24 lines
471 B
Systemverilog
Raw Normal View History

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain, for
2022-12-21 00:22:42 +00:00
// any use, without warranty, 2022 by Antmicro Ltd.
// SPDX-License-Identifier: CC0-1.0
module x;
2022-12-21 00:22:42 +00:00
typedef struct {
int fst, snd;
} uselessA_t;
typedef struct {
2022-12-21 00:22:42 +00:00
bit [3:0] n;
uselessA_t b;
} uselessB_t;
2022-12-21 00:22:42 +00:00
uselessA_t useless;
initial begin
$write("*-* All Finished *-*\n");
$finish;
end
endmodule