diff options
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/gna/bug23482/test1.vhdl | 8 | ||||
-rw-r--r-- | testsuite/gna/bug23482/test2.vhdl | 8 | ||||
-rwxr-xr-x | testsuite/gna/bug23482/testsuite.sh | 12 |
3 files changed, 28 insertions, 0 deletions
diff --git a/testsuite/gna/bug23482/test1.vhdl b/testsuite/gna/bug23482/test1.vhdl new file mode 100644 index 0000000..034c732 --- /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 0000000..b03515a --- /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 0000000..bb58d8f --- /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" |