verilator/test_regress/t/t_inside_unbounded_both.v

17 lines
458 B
Systemverilog

// DESCRIPTION: Verilator: Test for [$:$] with warning suppressed
//
// This file ONLY is placed under the Creative Commons Public Domain.
// SPDX-FileCopyrightText: 2025 Wilson Snyder
// SPDX-License-Identifier: CC0-1.0
module t;
initial begin
int value;
value = 50;
// [$:$] is always true - warning suppressed with -Wno-INSIDETRUE
if (!(value inside {[$ : $]})) $stop;
$write("*-* All Finished *-*\n");
$finish;
end
endmodule