diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-11-22 07:32:47 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-11-22 07:44:53 +0100 |
commit | 4684c81aaa27f177931bb8ffe837e9edc8a4dca0 (patch) | |
tree | d39dd5c734d5af026f77fb3a96d83d5dd7b5af79 /testsuite/pyunit/libghdl/enum.vhdl | |
parent | cc505073525dd5ffe1bd05004a2fb79917680d68 (diff) | |
download | ghdl-4684c81aaa27f177931bb8ffe837e9edc8a4dca0.tar.gz ghdl-4684c81aaa27f177931bb8ffe837e9edc8a4dca0.tar.bz2 ghdl-4684c81aaa27f177931bb8ffe837e9edc8a4dca0.zip |
testsuite/pyunit/libghdl: add tests for enums
Diffstat (limited to 'testsuite/pyunit/libghdl/enum.vhdl')
-rw-r--r-- | testsuite/pyunit/libghdl/enum.vhdl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/pyunit/libghdl/enum.vhdl b/testsuite/pyunit/libghdl/enum.vhdl new file mode 100644 index 000000000..72c460269 --- /dev/null +++ b/testsuite/pyunit/libghdl/enum.vhdl @@ -0,0 +1,6 @@ +package p is + constant c : natural := 1; + + -- Comment for :state_t: + type state_t is (s1, s2, s3); +end p; |