aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue2269/ent.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue2269/ent.vhdl')
-rw-r--r--testsuite/gna/issue2269/ent.vhdl15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/issue2269/ent.vhdl b/testsuite/gna/issue2269/ent.vhdl
new file mode 100644
index 000000000..21fb46b1f
--- /dev/null
+++ b/testsuite/gna/issue2269/ent.vhdl
@@ -0,0 +1,15 @@
+library ieee;
+ use ieee.numeric_bit.all;
+
+entity ent is
+end entity;
+
+architecture a of ent is
+ constant Bit_c : bit := '0';
+ constant BitVector_c : bit_vector(3 downto 0) := (others => Bit_c);
+begin
+ process begin
+ report "String test: " & to_hstring(BitVector_c) severity note;
+ wait;
+ end process;
+end;