diff options
Diffstat (limited to 'testsuite/synth/issue965')
-rw-r--r-- | testsuite/synth/issue965/test_block.vhdl | 11 | ||||
-rwxr-xr-x | testsuite/synth/issue965/testsuite.sh | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/testsuite/synth/issue965/test_block.vhdl b/testsuite/synth/issue965/test_block.vhdl new file mode 100644 index 000000000..508eb8a70 --- /dev/null +++ b/testsuite/synth/issue965/test_block.vhdl @@ -0,0 +1,11 @@ +entity test_block is +end entity test_block; + +architecture rtl of test_block is +begin + + Formal : block is + begin + end block Formal; + +end architecture rtl; diff --git a/testsuite/synth/issue965/testsuite.sh b/testsuite/synth/issue965/testsuite.sh new file mode 100755 index 000000000..231cd5c8e --- /dev/null +++ b/testsuite/synth/issue965/testsuite.sh @@ -0,0 +1,11 @@ +#! /bin/sh + +. ../../testenv.sh + +for f in test_block; do + synth --std=08 $f.vhdl -e $f > syn_$f.vhdl + analyze syn_$f.vhdl +done +clean + +echo "Test successful" |