diff options
Diffstat (limited to 'testsuite/synth/issue962')
-rw-r--r-- | testsuite/synth/issue962/ent2.vhdl | 8 | ||||
-rwxr-xr-x | testsuite/synth/issue962/testsuite.sh | 11 |
2 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/synth/issue962/ent2.vhdl b/testsuite/synth/issue962/ent2.vhdl new file mode 100644 index 000000000..3c7993b1f --- /dev/null +++ b/testsuite/synth/issue962/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/issue962/testsuite.sh b/testsuite/synth/issue962/testsuite.sh new file mode 100755 index 000000000..805a87560 --- /dev/null +++ b/testsuite/synth/issue962/testsuite.sh @@ -0,0 +1,11 @@ +#! /bin/sh + +. ../../testenv.sh + +for f in ent2; do + synth $f.vhdl -e $f > syn_$f.vhdl +# analyze syn_$f.vhdl +done +clean + +echo "Test successful" |