From 4684c81aaa27f177931bb8ffe837e9edc8a4dca0 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 22 Nov 2022 07:32:47 +0100 Subject: testsuite/pyunit/libghdl: add tests for enums --- testsuite/pyunit/libghdl/enum_fail.vhdl | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 testsuite/pyunit/libghdl/enum_fail.vhdl (limited to 'testsuite/pyunit/libghdl/enum_fail.vhdl') 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; -- cgit v1.2.3