aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue2174/t3.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue2174/t3.vhdl')
-rw-r--r--testsuite/gna/issue2174/t3.vhdl19
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/gna/issue2174/t3.vhdl b/testsuite/gna/issue2174/t3.vhdl
new file mode 100644
index 000000000..ba715a92a
--- /dev/null
+++ b/testsuite/gna/issue2174/t3.vhdl
@@ -0,0 +1,19 @@
+use std.textio.all;
+
+entity t3 is
+end;
+
+architecture behav of t3 is
+ subtype stext is text;
+
+ procedure w (file f : text; s : string) is
+ begin
+ write (f, s);
+ end w;
+begin
+ process
+ begin
+ w (output, "hello" & LF);
+ wait;
+ end process;
+end behav;