aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue1273/issue.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/issue1273/issue.vhdl')
-rw-r--r--testsuite/synth/issue1273/issue.vhdl16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/synth/issue1273/issue.vhdl b/testsuite/synth/issue1273/issue.vhdl
new file mode 100644
index 000000000..b737e20a6
--- /dev/null
+++ b/testsuite/synth/issue1273/issue.vhdl
@@ -0,0 +1,16 @@
+library ieee;
+use ieee.std_logic_1164.all;
+
+entity issue is
+ port (foo : in std_logic);
+end entity issue;
+
+architecture beh of issue is
+ procedure check (arg : in std_logic) is
+ begin
+ assert (arg xor '1') = (arg and '0');
+ end procedure;
+begin
+ check (foo);
+ --assert (foo xor '1') = (foo and '0');
+end architecture;