aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue2372/to01.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/issue2372/to01.vhdl')
-rw-r--r--testsuite/synth/issue2372/to01.vhdl7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/synth/issue2372/to01.vhdl b/testsuite/synth/issue2372/to01.vhdl
new file mode 100644
index 000000000..e54c74808
--- /dev/null
+++ b/testsuite/synth/issue2372/to01.vhdl
@@ -0,0 +1,7 @@
+library IEEE; use IEEE.std_logic_1164.all;
+entity to01 is
+ port (din : in std_logic; dout : out std_logic);
+end;
+architecture test of to01 is begin
+ dout <= to_01(din);
+end;