aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/libghdl/examples/comments/func.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/pyunit/libghdl/examples/comments/func.vhdl')
-rw-r--r--testsuite/pyunit/libghdl/examples/comments/func.vhdl6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/pyunit/libghdl/examples/comments/func.vhdl b/testsuite/pyunit/libghdl/examples/comments/func.vhdl
new file mode 100644
index 000000000..1c6fc8741
--- /dev/null
+++ b/testsuite/pyunit/libghdl/examples/comments/func.vhdl
@@ -0,0 +1,6 @@
+package p is
+ -- :log2: as functions are longer in definitions, it might be written before
+ function log2(param : positive) return natural;
+end p;
+
+