aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug0100/bitstr.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug0100/bitstr.vhdl')
-rw-r--r--testsuite/gna/bug0100/bitstr.vhdl16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/gna/bug0100/bitstr.vhdl b/testsuite/gna/bug0100/bitstr.vhdl
new file mode 100644
index 000000000..e256db159
--- /dev/null
+++ b/testsuite/gna/bug0100/bitstr.vhdl
@@ -0,0 +1,16 @@
+entity bitstr is
+ port (a : bit_vector (7 downto 0);
+ o : out bit);
+end bitstr;
+
+architecture behav of bitstr is
+begin
+ process (a)
+ begin
+ if a = bx"00" then
+ o <= '1';
+ else
+ o <= '0';
+ end if;
+ end process;
+end behav;