summaryrefslogtreecommitdiff
path: root/testsuite/gna/bug026/x.vhd
diff options
context:
space:
mode:
authorTristan Gingold2015-11-07 08:50:51 +0100
committerTristan Gingold2015-11-07 08:50:51 +0100
commit1cf874492884008f612e0352800ae175df890865 (patch)
treeddba103e8dea5c07fdb62fa20685c8b9ac5a85da /testsuite/gna/bug026/x.vhd
parent983a284cd1217380be67f254619766b9ec6a1e71 (diff)
downloadghdl-1cf874492884008f612e0352800ae175df890865.tar.gz
ghdl-1cf874492884008f612e0352800ae175df890865.tar.bz2
ghdl-1cf874492884008f612e0352800ae175df890865.zip
Add a reproducer for foreign procedures.
Diffstat (limited to 'testsuite/gna/bug026/x.vhd')
-rw-r--r--testsuite/gna/bug026/x.vhd15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/bug026/x.vhd b/testsuite/gna/bug026/x.vhd
new file mode 100644
index 0000000..a123e86
--- /dev/null
+++ b/testsuite/gna/bug026/x.vhd
@@ -0,0 +1,15 @@
+--library ieee;
+--use ieee.std_logic_1164.all;
+
+package dosomething is
+
+ type dosomething_t is record
+ dummy1 : integer;
+ dummy2 : integer;
+ dummy3 : integer;
+ end record;
+
+ procedure dosomething_hello (
+ variable r : inout dosomething_t);
+
+end dosomething;