From 2fae5481006fafb916675c528a7ee230be89ec0b Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 19 Jan 2016 19:55:08 +0100 Subject: Add reproducer for bug24324. --- testsuite/gna/bug24324/tb_thingy1.vhdl | 21 +++++++++++++++++++++ testsuite/gna/bug24324/testsuite.sh | 9 +++++++++ 2 files changed, 30 insertions(+) create mode 100644 testsuite/gna/bug24324/tb_thingy1.vhdl create mode 100755 testsuite/gna/bug24324/testsuite.sh diff --git a/testsuite/gna/bug24324/tb_thingy1.vhdl b/testsuite/gna/bug24324/tb_thingy1.vhdl new file mode 100644 index 000000000..1a63a9eba --- /dev/null +++ b/testsuite/gna/bug24324/tb_thingy1.vhdl @@ -0,0 +1,21 @@ +entity tb_thingy is +end tb_thingy; + +architecture tb of tb_thingy is + component thingy is + port ( + x_x : in bit; + y_y : out bit + ); + end component; + signal stimuli : bit; + signal response : bit; +begin + + dut : thingy + port map ( + x-x => stimuli, -- <== spelling error + y_y => response + ); + +end tb; diff --git a/testsuite/gna/bug24324/testsuite.sh b/testsuite/gna/bug24324/testsuite.sh new file mode 100755 index 000000000..689a4f06b --- /dev/null +++ b/testsuite/gna/bug24324/testsuite.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze_failure tb_thingy1.vhdl + +clean + +echo "Test successful" -- cgit v1.2.3