aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/libghdl/elements_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/elements_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/elements_fail.vhdl')
-rw-r--r--testsuite/pyunit/libghdl/elements_fail.vhdl7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/pyunit/libghdl/elements_fail.vhdl b/testsuite/pyunit/libghdl/elements_fail.vhdl
new file mode 100644
index 000000000..9173524f2
--- /dev/null
+++ b/testsuite/pyunit/libghdl/elements_fail.vhdl
@@ -0,0 +1,7 @@
+package p is
+ type rec is record
+ -- Comment for the first element.
+ a : bit;
+ b : bit;
+ end record;
+end p;