Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
36edd2bd845c2e56e36b75d2696ae7a98914e2a8
/
.
/
SVIncCompil
/
Testcases
/
Google
/
chapter-6
/
6.20.6--const.sv
blob: f4d690da502ea765b7ee584b26ebf319407036d5 [
file
] [
log
] [
blame
]
/*
:name: const
:description: const test
:should_fail: 0
:tags: 6.20.6
*/
module
top
();
class
test_cls
;
int
a
;
task test_method
(
int
val
);
$display
(
"test_method"
);
a
+=
val
;
endtask
endclass
const
test_cls test_obj
=
new
;
endmodule