Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
1b0062119887da734c600d091a65c037f5fafa7d
/
.
/
SVIncCompil
/
Testcases
/
Google
/
chapter-6
/
6.19.4--enum_numerical_expr.sv
blob: 21ad0eddfe2743b259cd51938c963d8c43af3c52 [
file
] [
log
] [
blame
]
/*
:name: enum_numerical_expr
:description: enum numerical expression tests
:should_fail: 0
:tags: 6.19.4
*/
module
top
();
typedef
enum
{
a
,
b
,
c
,
d
}
e
;
initial
begin
integer i
;
e val
;
val
=
a
;
i
=
val
*
4
;
end
endmodule