From 0e040792238fc3b26937a7725f4141fc5bdab89b Mon Sep 17 00:00:00 2001
From: Tristan Gingold <tgingold@free.fr>
Date: Sat, 6 Apr 2019 16:01:20 +0200
Subject: Add testcase for previous commit.

---
 testsuite/gna/bug096/reader.vhdl | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 testsuite/gna/bug096/reader.vhdl

(limited to 'testsuite/gna/bug096/reader.vhdl')

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;
-- 
cgit v1.2.3