aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue328/uncons1.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue328/uncons1.vhdl')
-rw-r--r--testsuite/gna/issue328/uncons1.vhdl13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/gna/issue328/uncons1.vhdl b/testsuite/gna/issue328/uncons1.vhdl
new file mode 100644
index 000000000..5fe1c6df9
--- /dev/null
+++ b/testsuite/gna/issue328/uncons1.vhdl
@@ -0,0 +1,13 @@
+entity uncons1 is
+end;
+
+architecture behav of uncons1 is
+ signal s1, s2 : bit;
+begin
+ b : block
+ -- port (p : bit_vector := (others => '1'));
+ port (p : bit_vector := "01110");
+ port map (p(0) => s1, p(1) => s2);
+ begin
+ end block;
+end;