iverilog/ivtest/ivltests/sv_lval_concat_class_fail1.v

16 lines
175 B
Verilog

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