verilator/test_regress/t/t_struct_unused.v

22 lines
435 B
Systemverilog
Raw Normal View History

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain.
// SPDX-FileCopyrightText: 2022 Antmicro Ltd
// SPDX-License-Identifier: CC0-1.0
module x;
2026-03-10 02:38:29 +01:00
typedef struct {int fst, snd;} uselessA_t;
2026-03-10 02:38:29 +01:00
typedef struct {
bit [3:0] n;
uselessA_t b;
} uselessB_t;
2026-03-10 02:38:29 +01:00
uselessA_t useless;
2026-03-10 02:38:29 +01:00
initial begin
$write("*-* All Finished *-*\n");
$finish;
end
endmodule