diff options
author | Tristan Gingold <tgingold@free.fr> | 2015-05-26 21:29:00 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2015-05-26 21:29:00 +0200 |
commit | cf93c28809e41da171abfd6a6db5622f27b61e32 (patch) | |
tree | f76d9dc8f51afb71b59363ab3c068c2d2a40316a /testsuite/gna/ticket81/repro.vhdl | |
parent | 2f1b14b847d87954b76feebd2d8f683e5ce92fd7 (diff) | |
download | ghdl-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.vhdl | 11 |
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; |