diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-11-22 07:57:07 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-11-22 07:57:07 +0100 |
commit | 93a88845da27290669c0dee990b7bb7232d58139 (patch) | |
tree | f3a8c7ec3df851d3c91e7445ec3614ac55cecc0b /testsuite/pyunit/libghdl/func_param.vhdl | |
parent | 90ffb78c6dac5bc2220bb9276df34cf8f3b80a15 (diff) | |
download | ghdl-93a88845da27290669c0dee990b7bb7232d58139.tar.gz ghdl-93a88845da27290669c0dee990b7bb7232d58139.tar.bz2 ghdl-93a88845da27290669c0dee990b7bb7232d58139.zip |
testsuite/pyunit/libghdl: add tests for comments in functions
Diffstat (limited to 'testsuite/pyunit/libghdl/func_param.vhdl')
-rw-r--r-- | testsuite/pyunit/libghdl/func_param.vhdl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/pyunit/libghdl/func_param.vhdl b/testsuite/pyunit/libghdl/func_param.vhdl new file mode 100644 index 000000000..fb47687e5 --- /dev/null +++ b/testsuite/pyunit/libghdl/func_param.vhdl @@ -0,0 +1,9 @@ +package p is + function log2( + -- :param1: we also want to document parameters too + param1 : integer; + param2 : boolean + ) return natural; +end p; + + |