aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/libghdl/examples/comments/func_param_fail.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/pyunit/libghdl/examples/comments/func_param_fail.vhdl')
-rw-r--r--testsuite/pyunit/libghdl/examples/comments/func_param_fail.vhdl9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/pyunit/libghdl/examples/comments/func_param_fail.vhdl b/testsuite/pyunit/libghdl/examples/comments/func_param_fail.vhdl
new file mode 100644
index 000000000..53461fdd9
--- /dev/null
+++ b/testsuite/pyunit/libghdl/examples/comments/func_param_fail.vhdl
@@ -0,0 +1,9 @@
+package p is
+ function log2(
+ -- we also want to document parameters too
+ param1 : integer;
+ param2 : boolean
+ ) return natural;
+end p;
+
+