From 449f4ac088da240a42cfd791e12de533c1bc5377 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 26 Mar 2016 16:31:46 +0100 Subject: Add bug041. --- testsuite/gna/bug041/foo.vhdl | 11 +++++++++++ testsuite/gna/bug041/testsuite.sh | 9 +++++++++ 2 files changed, 20 insertions(+) create mode 100644 testsuite/gna/bug041/foo.vhdl create mode 100755 testsuite/gna/bug041/testsuite.sh (limited to 'testsuite') diff --git a/testsuite/gna/bug041/foo.vhdl b/testsuite/gna/bug041/foo.vhdl new file mode 100644 index 000000000..3d12760b2 --- /dev/null +++ b/testsuite/gna/bug041/foo.vhdl @@ -0,0 +1,11 @@ +entity foo is +end entity; + +architecture fum of foo is + signal a: bit_vector (1 to 1); + signal b: bit_vector (1 to 1); +begin + + a(1 to 1) <= b(1); + +end architecture; diff --git a/testsuite/gna/bug041/testsuite.sh b/testsuite/gna/bug041/testsuite.sh new file mode 100755 index 000000000..88cd64e80 --- /dev/null +++ b/testsuite/gna/bug041/testsuite.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze_failure foo.vhdl + +clean + +echo "Test successful" -- cgit v1.2.3