aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/libghdl/examples/comments/elements_fail.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/pyunit/libghdl/examples/comments/elements_fail.vhdl')
-rw-r--r--testsuite/pyunit/libghdl/examples/comments/elements_fail.vhdl7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/pyunit/libghdl/examples/comments/elements_fail.vhdl b/testsuite/pyunit/libghdl/examples/comments/elements_fail.vhdl
new file mode 100644
index 000000000..9173524f2
--- /dev/null
+++ b/testsuite/pyunit/libghdl/examples/comments/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;