aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/case01/case07.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/case01/case07.vhdl')
-rw-r--r--testsuite/synth/case01/case07.vhdl17
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/synth/case01/case07.vhdl b/testsuite/synth/case01/case07.vhdl
new file mode 100644
index 000000000..deecf1e75
--- /dev/null
+++ b/testsuite/synth/case01/case07.vhdl
@@ -0,0 +1,17 @@
+library ieee;
+use ieee.std_logic_1164.all;
+
+entity case07 is
+ port (a : std_logic_vector (4 downto 0);
+ o : out std_logic);
+end case07;
+
+architecture behav of case07 is
+begin
+ process (a)
+ begin
+ with a select o <=
+ '1' when "00000",
+ '0' when others;
+ end process;
+end behav;