aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/ticket81/repro.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2015-05-26 21:29:00 +0200
committerTristan Gingold <tgingold@free.fr>2015-05-26 21:29:00 +0200
commitcf93c28809e41da171abfd6a6db5622f27b61e32 (patch)
treef76d9dc8f51afb71b59363ab3c068c2d2a40316a /testsuite/gna/ticket81/repro.vhdl
parent2f1b14b847d87954b76feebd2d8f683e5ce92fd7 (diff)
downloadghdl-cf93c28809e41da171abfd6a6db5622f27b61e32.tar.gz
ghdl-cf93c28809e41da171abfd6a6db5622f27b61e32.tar.bz2
ghdl-cf93c28809e41da171abfd6a6db5622f27b61e32.zip
testcase for ticket81.
Diffstat (limited to 'testsuite/gna/ticket81/repro.vhdl')
-rw-r--r--testsuite/gna/ticket81/repro.vhdl11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/gna/ticket81/repro.vhdl b/testsuite/gna/ticket81/repro.vhdl
new file mode 100644
index 000000000..be0781e72
--- /dev/null
+++ b/testsuite/gna/ticket81/repro.vhdl
@@ -0,0 +1,11 @@
+entity repro is
+end;
+
+architecture behav of repro is
+ function zeros (a, b : bit_vector) return bit_vector is
+ constant res : bit_vector (a'length + b'length - 1 downto 0) := (others => '0');
+ begin
+ return res;
+ end;
+begin
+end behav;