From 8c03cadc09ad28f0dba75b85e0e6f48667c4e6d6 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 11 May 2019 07:15:10 +0200 Subject: Add testcase for #817 --- testsuite/gna/issue817/repro1.vhdl | 15 +++++++++++++++ testsuite/gna/issue817/testsuite.sh | 10 ++++++++++ 2 files changed, 25 insertions(+) create mode 100644 testsuite/gna/issue817/repro1.vhdl create mode 100755 testsuite/gna/issue817/testsuite.sh (limited to 'testsuite/gna/issue817') diff --git a/testsuite/gna/issue817/repro1.vhdl b/testsuite/gna/issue817/repro1.vhdl new file mode 100644 index 000000000..4ff7d8bd9 --- /dev/null +++ b/testsuite/gna/issue817/repro1.vhdl @@ -0,0 +1,15 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity ent is +end entity; + +architecture arch of ent is +begin + process + variable valid_tmp : std_logic_vector := (others => '0'); + begin + valid_tmp := (others => '0'); + wait; + end process; +end architecture; diff --git a/testsuite/gna/issue817/testsuite.sh b/testsuite/gna/issue817/testsuite.sh new file mode 100755 index 000000000..ff7dfbeef --- /dev/null +++ b/testsuite/gna/issue817/testsuite.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. ../../testenv.sh + +export GHDL_STD_FLAGS=--std=08 +analyze_failure -frelaxed repro1.vhdl + +clean + +echo "Test successful" -- cgit v1.2.3