From 047b277b31f1d830f3fc72933d9fbb388f8cbdd0 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 27 May 2015 03:52:34 +0200 Subject: Testcase for bug23482 --- testsuite/gna/bug23482/test1.vhdl | 8 ++++++++ testsuite/gna/bug23482/test2.vhdl | 8 ++++++++ testsuite/gna/bug23482/testsuite.sh | 12 ++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 testsuite/gna/bug23482/test1.vhdl create mode 100644 testsuite/gna/bug23482/test2.vhdl create mode 100755 testsuite/gna/bug23482/testsuite.sh (limited to 'testsuite') diff --git a/testsuite/gna/bug23482/test1.vhdl b/testsuite/gna/bug23482/test1.vhdl new file mode 100644 index 000000000..034c732a1 --- /dev/null +++ b/testsuite/gna/bug23482/test1.vhdl @@ -0,0 +1,8 @@ +entity test is end entity; + +architecture arch of test is + signal b:bit; + alias bit_base is bit'base; + -- alias b_stable is b'stable; +begin +end architecture; diff --git a/testsuite/gna/bug23482/test2.vhdl b/testsuite/gna/bug23482/test2.vhdl new file mode 100644 index 000000000..b03515a4a --- /dev/null +++ b/testsuite/gna/bug23482/test2.vhdl @@ -0,0 +1,8 @@ +entity test2 is end entity; + +architecture arch of test2 is + signal b:bit; + -- alias bit_base is bit'base; + alias b_stable is b'stable; +begin +end architecture; diff --git a/testsuite/gna/bug23482/testsuite.sh b/testsuite/gna/bug23482/testsuite.sh new file mode 100755 index 000000000..bb58d8ff4 --- /dev/null +++ b/testsuite/gna/bug23482/testsuite.sh @@ -0,0 +1,12 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze_failure test1.vhdl + +analyze test2.vhdl +elab_simulate test2 + +clean + +echo "Test successful" -- cgit v1.2.3