Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
713605cadef845b9f44d6469208fb6e902ace095
/
.
/
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