Files
iverilog/ivtest/ivltests/sv_queue_string_fail.v
T
Stephen Williams cea237b407 Add ivtest to the iverilog source tree
By adding ivtest to the iverilog source tree, it is easier to keep
the regression test synchronized with the source that is being tested.
This should be especially helpful for PRs that add a new feature, and
have a matching ivtest PR with the regression test for that feature.
2022-01-15 10:18:50 -08:00

17 lines
352 B
Verilog

module top;
int bound = 2;
string q_str [$];
string q_str1 [$:-1];
string q_str2 [$:'X];
string q_str3 [$:bound];
initial begin
$display(q_str.size("a"));
$display(q_str.pop_front("a"));
$display(q_str.pop_back("a"));
q_str.push_front("a", "b");
q_str.push_back("a", "b");
$display("FAILED");
end
endmodule : top