aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/gna/issue351/mypkg.vhdl8
-rwxr-xr-xtestsuite/gna/issue351/testsuite.sh9
2 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/gna/issue351/mypkg.vhdl b/testsuite/gna/issue351/mypkg.vhdl
new file mode 100644
index 000000000..db2e62f52
--- /dev/null
+++ b/testsuite/gna/issue351/mypkg.vhdl
@@ -0,0 +1,8 @@
+library ieee;
+use ieee.numeric_std.all;
+
+package MyPkg is
+
+ alias BCDType is unsigned(3 downto 0);
+
+end package MyPkg;
diff --git a/testsuite/gna/issue351/testsuite.sh b/testsuite/gna/issue351/testsuite.sh
new file mode 100755
index 000000000..bd66ee7f7
--- /dev/null
+++ b/testsuite/gna/issue351/testsuite.sh
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+analyze_failure mypkg.vhdl
+
+clean
+
+echo "Test successful"