iverilog/ivtest/ivltests/sv_lval_concat_class_fail2.v

16 lines
187 B
Verilog

// Check that class objects can not be used in single operand l-value concatenations.
module test;
class C;
endclass
int x;
C c;
initial begin
{c} = x;
end
endmodule