aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/libghdl/enum_fail.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/pyunit/libghdl/enum_fail.vhdl')
-rw-r--r--testsuite/pyunit/libghdl/enum_fail.vhdl6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/pyunit/libghdl/enum_fail.vhdl b/testsuite/pyunit/libghdl/enum_fail.vhdl
new file mode 100644
index 000000000..ec8a1cb79
--- /dev/null
+++ b/testsuite/pyunit/libghdl/enum_fail.vhdl
@@ -0,0 +1,6 @@
+package p is
+ constant c : natural := 1;
+
+ -- Comment
+ type state_t is (s1, s2, s3);
+end p;