aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-05-11 07:15:10 +0200
committerTristan Gingold <tgingold@free.fr>2019-05-11 18:13:37 +0200
commit8c03cadc09ad28f0dba75b85e0e6f48667c4e6d6 (patch)
tree9d820a10cccd80f00dc35e7da391117ebf0ef245 /testsuite
parent58b3b8a09770e36e36d2d6f870dac2df00457b14 (diff)
downloadghdl-8c03cadc09ad28f0dba75b85e0e6f48667c4e6d6.tar.gz
ghdl-8c03cadc09ad28f0dba75b85e0e6f48667c4e6d6.tar.bz2
ghdl-8c03cadc09ad28f0dba75b85e0e6f48667c4e6d6.zip
Add testcase for #817
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/gna/issue817/repro1.vhdl15
-rwxr-xr-xtestsuite/gna/issue817/testsuite.sh10
2 files changed, 25 insertions, 0 deletions
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"