diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-06-20 20:56:28 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-06-21 06:33:24 +0200 |
commit | a83d1e6682d63b99d1a83d7a73dc5079cf781b25 (patch) | |
tree | 8b13437d61f978e76594f11f483b5becd693fd7f /testsuite/gna/issue2103/repro2.vhdl | |
parent | 12f428f27ba4bcec645b9f904aff8b5632420ad4 (diff) | |
download | ghdl-a83d1e6682d63b99d1a83d7a73dc5079cf781b25.tar.gz ghdl-a83d1e6682d63b99d1a83d7a73dc5079cf781b25.tar.bz2 ghdl-a83d1e6682d63b99d1a83d7a73dc5079cf781b25.zip |
testsuite/gna: add a test for #2103
Diffstat (limited to 'testsuite/gna/issue2103/repro2.vhdl')
-rw-r--r-- | testsuite/gna/issue2103/repro2.vhdl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/gna/issue2103/repro2.vhdl b/testsuite/gna/issue2103/repro2.vhdl new file mode 100644 index 000000000..7bbeefe10 --- /dev/null +++ b/testsuite/gna/issue2103/repro2.vhdl @@ -0,0 +1,10 @@ +package repro2 is + function f (arg : bit; length : string) return bit; +end repro2; + +package body repro2 is + function f (arg : bit; length : bit_vector) return bit is + begin + return arg; + end; +end repro2; |