blob: b5b815ae53803dc71e5617c3f1fd8361ddde7026 [file] [log] [blame]
/*
:name: implements
:description: implements keyword test
:should_fail: 0
:tags: 8.26.2
*/
module class_tb ();
interface class ihello;
pure virtual function void hello();
endclass
class Hello implements ihello;
virtual function void hello();
$display("hello world");
endfunction
endclass
Hello obj;
initial begin
obj = new;
obj.hello();
end
endmodule