| /* | |
| :name: name_conflict_resolved | |
| :description: resolved interface class method name conflict | |
| :should_fail: 0 | |
| :tags: 8.26.6.1 | |
| */ | |
| module class_tb (); | |
| interface class ihello; | |
| pure virtual function void hello(); | |
| endclass | |
| interface class itest; | |
| pure virtual function void hello(); | |
| endclass | |
| class Hello implements ihello, itest; | |
| virtual function void hello(); | |
| $display("hello world"); | |
| endfunction | |
| endclass | |
| Hello obj; | |
| initial begin | |
| obj = new; | |
| obj.hello(); | |
| end | |
| endmodule |