mirror of
https://github.com/zachjs/sv2v.git
synced 2026-08-31 01:34:16 +02:00
10 lines
209 B
Systemverilog
10 lines
209 B
Systemverilog
// pattern: cannot override type parameter "Y" in class "C" with expression 1
|
|
class C #(
|
|
parameter type Y
|
|
);
|
|
localparam X = $bits(Y) + 1;
|
|
endclass
|
|
module top;
|
|
initial $display(C#(1)::X);
|
|
endmodule
|