From ded2825eb086493655d90b499c3dcf3abd9e5867 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 13 Aug 2018 05:53:03 +0200 Subject: Add reprocedure for #634 --- testsuite/gna/issue634/testsuite.sh | 10 ++++++++++ testsuite/gna/issue634/top.vhdl | 15 +++++++++++++++ 2 files changed, 25 insertions(+) create mode 100755 testsuite/gna/issue634/testsuite.sh create mode 100644 testsuite/gna/issue634/top.vhdl (limited to 'testsuite') diff --git a/testsuite/gna/issue634/testsuite.sh b/testsuite/gna/issue634/testsuite.sh new file mode 100755 index 000000000..e0b0e2fec --- /dev/null +++ b/testsuite/gna/issue634/testsuite.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze top.vhdl +elab_simulate_failure top_ent + +clean + +echo "Test successful" diff --git a/testsuite/gna/issue634/top.vhdl b/testsuite/gna/issue634/top.vhdl new file mode 100644 index 000000000..0dd7a47a2 --- /dev/null +++ b/testsuite/gna/issue634/top.vhdl @@ -0,0 +1,15 @@ +use std.textio.all; + +entity top_ent is +end entity; + +architecture default of top_ent is + file fh : text; +begin + process + begin + if endfile(fh) then + null; + end if; + end process; +end architecture; -- cgit v1.2.3