diff options
Diffstat (limited to 'testsuite/synth')
-rw-r--r-- | testsuite/synth/issue1387/repro1.vhdl | 15 | ||||
-rwxr-xr-x | testsuite/synth/issue1387/testsuite.sh | 7 |
2 files changed, 22 insertions, 0 deletions
diff --git a/testsuite/synth/issue1387/repro1.vhdl b/testsuite/synth/issue1387/repro1.vhdl new file mode 100644 index 000000000..f1277137d --- /dev/null +++ b/testsuite/synth/issue1387/repro1.vhdl @@ -0,0 +1,15 @@ +package repro1_pkg is + signal s : bit; +end; + +use work.repro1_pkg.all; + +entity repro1 is + port (a,b : bit; + c : out bit); +end repro1; + +architecture behav of repro1 is +begin + c <= a xor b; +end behav; diff --git a/testsuite/synth/issue1387/testsuite.sh b/testsuite/synth/issue1387/testsuite.sh new file mode 100755 index 000000000..c7cde0ee3 --- /dev/null +++ b/testsuite/synth/issue1387/testsuite.sh @@ -0,0 +1,7 @@ +#! /bin/sh + +. ../../testenv.sh + +synth_failure repro1.vhdl -e + +echo "Test successful" |