diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-12-21 08:22:36 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-12-21 08:22:36 +0100 |
commit | 311424ce8850091136082561ecf1be358081b65a (patch) | |
tree | 435daca8c9234eb51d491c472a482272d7b8ba85 /testsuite/pyunit/libghdl/examples/comments | |
parent | e13fcabd288b212c208cb594d6427fe0549a7d8e (diff) | |
download | ghdl-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.vhdl | 7 |
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; |