aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue953
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-10-03 19:59:59 +0200
committerTristan Gingold <tgingold@free.fr>2019-10-03 19:59:59 +0200
commit104d15ba33b8833302f11f96489e7ebbb3c53080 (patch)
treea370c1069c52771c30c8309275ce9e3187e8b0a6 /testsuite/synth/issue953
parentd1a04906a1c4c0a31a53ac653ce07d01fce6636e (diff)
downloadghdl-104d15ba33b8833302f11f96489e7ebbb3c53080.tar.gz
ghdl-104d15ba33b8833302f11f96489e7ebbb3c53080.tar.bz2
ghdl-104d15ba33b8833302f11f96489e7ebbb3c53080.zip
testsuite/synth: add test for #962
Diffstat (limited to 'testsuite/synth/issue953')
-rw-r--r--testsuite/synth/issue953/ent2.vhdl8
-rwxr-xr-xtestsuite/synth/issue953/testsuite.sh2
2 files changed, 1 insertions, 9 deletions
diff --git a/testsuite/synth/issue953/ent2.vhdl b/testsuite/synth/issue953/ent2.vhdl
deleted file mode 100644
index 3c7993b1f..000000000
--- a/testsuite/synth/issue953/ent2.vhdl
+++ /dev/null
@@ -1,8 +0,0 @@
-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 a4049bbcb..54e687d28 100755
--- a/testsuite/synth/issue953/testsuite.sh
+++ b/testsuite/synth/issue953/testsuite.sh
@@ -2,7 +2,7 @@
. ../../testenv.sh
-for f in ent ent2; do
+for f in ent; do
synth $f.vhdl -e $f > syn_$f.vhdl
# analyze syn_$f.vhdl
done