iverilog/ivtest/ivltests/sv_ap_parray_fail3.v

14 lines
271 B
Coq
Raw Normal View History

// Check that an error is reported when using an assignment pattern on a scalar
// type.
module test;
bit x = '{1'b1}; // This should fail. Can't use assignment pattern with
// scalar types
initial begin
$display("FAILED");
end
endmodule