yosys/tests/verilog/conflict_pwire.ys

9 lines
209 B
Plaintext

logger -expect error "Cannot add pwire `\\x' because a signal with the same name was already created" 1
read_verilog -pwires <<EOT
module top;
wire x;
assign x = 1;
localparam x = 2;
endmodule
EOT