aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug092/t2.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug092/t2.vhdl')
-rw-r--r--testsuite/gna/bug092/t2.vhdl7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/gna/bug092/t2.vhdl b/testsuite/gna/bug092/t2.vhdl
new file mode 100644
index 000000000..6de94a7e2
--- /dev/null
+++ b/testsuite/gna/bug092/t2.vhdl
@@ -0,0 +1,7 @@
+package t is
+ type str_acc is access string;
+
+ function my_alloc (v : natural) return str_acc;
+ attribute foreign of my_alloc : function is "VHPIDIRECT myalloc";
+end t;
+