From c4ce356d19626e4218399ed1b52fc6194f8b739f Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 5 Oct 2019 07:48:43 +0200 Subject: testsuite/synth: add testcase for #965 --- testsuite/synth/issue965/test_block.vhdl | 11 +++++++++++ testsuite/synth/issue965/testsuite.sh | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 testsuite/synth/issue965/test_block.vhdl create mode 100755 testsuite/synth/issue965/testsuite.sh (limited to 'testsuite/synth/issue965') 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" -- cgit v1.2.3