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