From 534208258fb3032241ec91c9f4b037c39674a896 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 22 Dec 2016 06:49:33 +0100 Subject: Add testcase for aggregate with others. --- testsuite/gna/bug044/aggr1.vhdl | 11 +++++++++++ testsuite/gna/bug044/testsuite.sh | 9 +++++++++ 2 files changed, 20 insertions(+) create mode 100644 testsuite/gna/bug044/aggr1.vhdl create mode 100755 testsuite/gna/bug044/testsuite.sh (limited to 'testsuite') diff --git a/testsuite/gna/bug044/aggr1.vhdl b/testsuite/gna/bug044/aggr1.vhdl new file mode 100644 index 000000000..1027fe73a --- /dev/null +++ b/testsuite/gna/bug044/aggr1.vhdl @@ -0,0 +1,11 @@ +entity aggr1 is +end aggr1; + +architecture behav of aggr1 is + procedure proc (b, c : out bit_vector) is + begin + b := (others => '0'); + c := ('1', others => '0'); + end proc; +begin +end behav; diff --git a/testsuite/gna/bug044/testsuite.sh b/testsuite/gna/bug044/testsuite.sh new file mode 100755 index 000000000..6c2e36128 --- /dev/null +++ b/testsuite/gna/bug044/testsuite.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze_failure aggr1.vhdl + +clean + +echo "Test successful" -- cgit v1.2.3