aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/libghdl/enum.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/pyunit/libghdl/enum.vhdl')
-rw-r--r--testsuite/pyunit/libghdl/enum.vhdl6
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;