aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/gna/issue1919/repro.vhdl6
-rw-r--r--testsuite/gna/issue1919/repro1.vhdl6
-rwxr-xr-xtestsuite/gna/issue1919/testsuite.sh10
3 files changed, 22 insertions, 0 deletions
diff --git a/testsuite/gna/issue1919/repro.vhdl b/testsuite/gna/issue1919/repro.vhdl
new file mode 100644
index 000000000..64ab6ee11
--- /dev/null
+++ b/testsuite/gna/issue1919/repro.vhdl
@@ -0,0 +1,6 @@
+library ieee;
+use ieee.std_logic_1164.all;
+
+package repro is
+ alias reg_Acc : std_logic_vector(3 downto 0) is "0111";
+end repro;
diff --git a/testsuite/gna/issue1919/repro1.vhdl b/testsuite/gna/issue1919/repro1.vhdl
new file mode 100644
index 000000000..0f9e194b4
--- /dev/null
+++ b/testsuite/gna/issue1919/repro1.vhdl
@@ -0,0 +1,6 @@
+library ieee;
+use ieee.std_logic_1164.all;
+
+package repro is
+ alias reg_Acc is "0111";
+end repro;
diff --git a/testsuite/gna/issue1919/testsuite.sh b/testsuite/gna/issue1919/testsuite.sh
new file mode 100755
index 000000000..bdf1b9b43
--- /dev/null
+++ b/testsuite/gna/issue1919/testsuite.sh
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+analyze_failure repro.vhdl
+analyze_failure repro1.vhdl
+
+clean
+
+echo "Test successful"