aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue877/aa2.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue877/aa2.vhdl')
-rw-r--r--testsuite/gna/issue877/aa2.vhdl4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/gna/issue877/aa2.vhdl b/testsuite/gna/issue877/aa2.vhdl
new file mode 100644
index 000000000..dd0b7086f
--- /dev/null
+++ b/testsuite/gna/issue877/aa2.vhdl
@@ -0,0 +1,4 @@
+package aa2 is
+constant a : bit_vector(0 to 1) := ('0', '1');
+constant b : bit_vector(0 to 0) := a(integer range 0 to 0);
+end package aa2;