aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testsuite/synth/issue953/ent2.vhdl8
-rwxr-xr-xtestsuite/synth/issue953/testsuite.sh2
2 files changed, 9 insertions, 1 deletions
diff --git a/testsuite/synth/issue953/ent2.vhdl b/testsuite/synth/issue953/ent2.vhdl
new file mode 100644
index 000000000..3c7993b1f
--- /dev/null
+++ b/testsuite/synth/issue953/ent2.vhdl
@@ -0,0 +1,8 @@
+entity ent2 is
+end;
+
+architecture a of ent2 is
+ signal x : integer;
+ signal y : integer := x / 2;
+begin
+end;
diff --git a/testsuite/synth/issue953/testsuite.sh b/testsuite/synth/issue953/testsuite.sh
index 54e687d28..a4049bbcb 100755
--- a/testsuite/synth/issue953/testsuite.sh
+++ b/testsuite/synth/issue953/testsuite.sh
@@ -2,7 +2,7 @@
. ../../testenv.sh
-for f in ent; do
+for f in ent ent2; do
synth $f.vhdl -e $f > syn_$f.vhdl
# analyze syn_$f.vhdl
done