aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug096/reader.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug096/reader.vhdl')
-rw-r--r--testsuite/gna/bug096/reader.vhdl17
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/gna/bug096/reader.vhdl b/testsuite/gna/bug096/reader.vhdl
new file mode 100644
index 000000000..1fa26776e
--- /dev/null
+++ b/testsuite/gna/bug096/reader.vhdl
@@ -0,0 +1,17 @@
+entity reader is
+end reader;
+
+use std.textio.all;
+
+architecture behav of reader is
+begin
+ process
+ file f : text is in "input.txt";
+ variable l : line;
+ begin
+ for i in 1 to 5 loop
+ readline (f, l);
+ end loop;
+ wait;
+ end process;
+end behav;