summaryrefslogtreecommitdiff
path: root/testsuite/gna/ticket101/junk2.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/ticket101/junk2.vhdl')
-rw-r--r--testsuite/gna/ticket101/junk2.vhdl7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/gna/ticket101/junk2.vhdl b/testsuite/gna/ticket101/junk2.vhdl
new file mode 100644
index 0000000..bece38f
--- /dev/null
+++ b/testsuite/gna/ticket101/junk2.vhdl
@@ -0,0 +1,7 @@
+package t_Junk2 is
+ type ufixed is array (integer range <>) of bit;
+ type t_MULTIPLIERS is array(15 downto -16) of ufixed(7 downto -8);
+-- type t_MULTIPLIERS is array(15 downto 1) of ufixed(7 downto -1); -- Will compile correctly
+-- type t_MULTIPLIERS is array(15 downto -1) of ufixed(7 downto 1); -- Will not compile correctly
+end package t_Junk2;
+