blob: 506412028ee2a755a911e1c95e25b15a2ad02698 [file]
class client;
local server s;
function new(server s);
this.s = s;
endfunction
function void do_something();
// ...
// Should call:
//s.perform(server::ACTION0);
endfunction
function void do_something_else(bit is_cool);
int value;
// ...
// Computes value wrong:
value = is_cool ? 1000 : 0;
// ...
s.perform(server::ACTION1, value);
endfunction
endclass