aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/libghdl/examples/comments
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-12-21 08:22:36 +0100
committerTristan Gingold <tgingold@free.fr>2022-12-21 08:22:36 +0100
commit311424ce8850091136082561ecf1be358081b65a (patch)
tree435daca8c9234eb51d491c472a482272d7b8ba85 /testsuite/pyunit/libghdl/examples/comments
parente13fcabd288b212c208cb594d6427fe0549a7d8e (diff)
downloadghdl-311424ce8850091136082561ecf1be358081b65a.tar.gz
ghdl-311424ce8850091136082561ecf1be358081b65a.tar.bz2
ghdl-311424ce8850091136082561ecf1be358081b65a.zip
testsuite/pyunit/libghdl: add a test for package comments
Diffstat (limited to 'testsuite/pyunit/libghdl/examples/comments')
-rw-r--r--testsuite/pyunit/libghdl/examples/comments/pkg_inside_2.vhdl7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/pyunit/libghdl/examples/comments/pkg_inside_2.vhdl b/testsuite/pyunit/libghdl/examples/comments/pkg_inside_2.vhdl
new file mode 100644
index 000000000..ac0c0240a
--- /dev/null
+++ b/testsuite/pyunit/libghdl/examples/comments/pkg_inside_2.vhdl
@@ -0,0 +1,7 @@
+-- As packages define public elements like constants, types and sub-programs, we are intrested in such documentation too.:p2:
+package p2 is
+ -- comments in design units (python doc-string style):p2:
+ -- might be multi line :p2:
+
+ constant unrelated: boolean := True;
+end package;