iverilog/ivtest/ivltests/br_gh4.v

15 lines
180 B
Verilog

program test;
class a;
function new(string str);
$display(str);
endfunction
endclass // a
initial begin
a m_a;
m_a = new("PASSED");
end
endprogram