aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue1387/repro1.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/issue1387/repro1.vhdl')
-rw-r--r--testsuite/synth/issue1387/repro1.vhdl15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/synth/issue1387/repro1.vhdl b/testsuite/synth/issue1387/repro1.vhdl
new file mode 100644
index 000000000..f1277137d
--- /dev/null
+++ b/testsuite/synth/issue1387/repro1.vhdl
@@ -0,0 +1,15 @@
+package repro1_pkg is
+ signal s : bit;
+end;
+
+use work.repro1_pkg.all;
+
+entity repro1 is
+ port (a,b : bit;
+ c : out bit);
+end repro1;
+
+architecture behav of repro1 is
+begin
+ c <= a xor b;
+end behav;