mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-29 01:03:29 +02:00
Check that it is not possible to declare a variable in a package without an explicit data type for the variable. Signed-off-by: Lars-Peter Clausen <[email protected]>
7 lines
179 B
Verilog
7 lines
179 B
Verilog
// Check that it is not possible to declare a variable in a package without an explicit data
|
|
// type for the variable.
|
|
|
|
pacakge P;
|
|
[3:0] x; // This is a syntax error
|
|
endpackage
|