aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/libghdl/record_fail.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-11-22 06:21:16 +0100
committerTristan Gingold <tgingold@free.fr>2022-11-22 06:21:16 +0100
commitcd408fb00f8fef76ca31a4c97f956ee662c9aa5b (patch)
tree4b15c33a2dd2952528cb55764d06353fe8d73c38 /testsuite/pyunit/libghdl/record_fail.vhdl
parent677381d0de3212399025117f5879030d13ccfdbf (diff)
downloadghdl-cd408fb00f8fef76ca31a4c97f956ee662c9aa5b.tar.gz
ghdl-cd408fb00f8fef76ca31a4c97f956ee662c9aa5b.tar.bz2
ghdl-cd408fb00f8fef76ca31a4c97f956ee662c9aa5b.zip
testsuite/pyunit/libghdl: add more tests for comments gathering
Diffstat (limited to 'testsuite/pyunit/libghdl/record_fail.vhdl')
-rw-r--r--testsuite/pyunit/libghdl/record_fail.vhdl10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/pyunit/libghdl/record_fail.vhdl b/testsuite/pyunit/libghdl/record_fail.vhdl
new file mode 100644
index 000000000..fd584f274
--- /dev/null
+++ b/testsuite/pyunit/libghdl/record_fail.vhdl
@@ -0,0 +1,10 @@
+package p is
+
+ constant c : natural := 1;
+
+ -- Comment for the record
+ type rec is record
+ a : bit;
+ b : bit;
+ end record;
+end p;