summaryrefslogtreecommitdiff
path: root/testsuite/gna/ticket44/file2.vhd
diff options
context:
space:
mode:
authorTristan Gingold2015-05-10 16:03:54 +0200
committerTristan Gingold2015-05-10 16:03:54 +0200
commit7a998f26f619adec0527ebd7e09b63eb058fdf95 (patch)
treea11ace111425b58dc04f52c6aff64ed494f82613 /testsuite/gna/ticket44/file2.vhd
parent7b7f3c1113a767b59e13cc49fe818c9c1efde15e (diff)
downloadghdl-7a998f26f619adec0527ebd7e09b63eb058fdf95.tar.gz
ghdl-7a998f26f619adec0527ebd7e09b63eb058fdf95.tar.bz2
ghdl-7a998f26f619adec0527ebd7e09b63eb058fdf95.zip
File reproducer for ticket 43 and 44.
Diffstat (limited to 'testsuite/gna/ticket44/file2.vhd')
-rw-r--r--testsuite/gna/ticket44/file2.vhd13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/gna/ticket44/file2.vhd b/testsuite/gna/ticket44/file2.vhd
new file mode 100644
index 0000000..a9566d5
--- /dev/null
+++ b/testsuite/gna/ticket44/file2.vhd
@@ -0,0 +1,13 @@
+package body other_pkg is
+ procedure other_proc (
+ variable result : out boolean) is
+ begin
+ end;
+
+ impure function other_proc
+ return boolean is
+ variable result : boolean;
+ begin
+ return result;
+ end function other_proc;
+end package body other_pkg;