From d85003f32eb6d1d2384c2748d2d4089cd1636d87 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 11 Jan 2020 07:43:37 +0100 Subject: testsuite/synth: add a test for #1078 --- testsuite/synth/issue1078/ent.vhdl | 12 ++++++++++++ testsuite/synth/issue1078/testsuite.sh | 7 +++++++ 2 files changed, 19 insertions(+) create mode 100644 testsuite/synth/issue1078/ent.vhdl create mode 100755 testsuite/synth/issue1078/testsuite.sh diff --git a/testsuite/synth/issue1078/ent.vhdl b/testsuite/synth/issue1078/ent.vhdl new file mode 100644 index 000000000..16521efbb --- /dev/null +++ b/testsuite/synth/issue1078/ent.vhdl @@ -0,0 +1,12 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity ent is + port ( + o : out std_logic + ); +end; + +architecture a of ent is +begin +end; diff --git a/testsuite/synth/issue1078/testsuite.sh b/testsuite/synth/issue1078/testsuite.sh new file mode 100755 index 000000000..11b3ee2be --- /dev/null +++ b/testsuite/synth/issue1078/testsuite.sh @@ -0,0 +1,7 @@ +#! /bin/sh + +. ../../testenv.sh + +! synth ent.vhdl -e + +echo "Test successful" -- cgit v1.2.3