aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue1034/p.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/issue1034/p.vhdl')
-rw-r--r--testsuite/synth/issue1034/p.vhdl11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/synth/issue1034/p.vhdl b/testsuite/synth/issue1034/p.vhdl
new file mode 100644
index 000000000..a91e5dce9
--- /dev/null
+++ b/testsuite/synth/issue1034/p.vhdl
@@ -0,0 +1,11 @@
+package p is
+ function id(val : natural) return natural;
+end package;
+
+package body p is
+ function id(val : natural) return natural is
+ begin
+ return val;
+ end function;
+end package body;
+