diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-09-21 07:54:03 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-09-21 07:54:03 +0200 |
commit | 8d5ae7bf63c616925306b42d42d01d1cebf3ffc7 (patch) | |
tree | 4cdf17aec79b270cb5aa3c89d199a95bf4cbafbd /testsuite/gna/issue1469/ent1.vhdl | |
parent | 98d13c051f8c87b69a07c34c836ed31e8ee58842 (diff) | |
download | ghdl-8d5ae7bf63c616925306b42d42d01d1cebf3ffc7.tar.gz ghdl-8d5ae7bf63c616925306b42d42d01d1cebf3ffc7.tar.bz2 ghdl-8d5ae7bf63c616925306b42d42d01d1cebf3ffc7.zip |
testsuite/gna: add a test for #1469
Diffstat (limited to 'testsuite/gna/issue1469/ent1.vhdl')
-rw-r--r-- | testsuite/gna/issue1469/ent1.vhdl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/gna/issue1469/ent1.vhdl b/testsuite/gna/issue1469/ent1.vhdl new file mode 100644 index 000000000..15fd607ab --- /dev/null +++ b/testsuite/gna/issue1469/ent1.vhdl @@ -0,0 +1,16 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity ent1 is +end; + +architecture arch of ent1 is + + procedure f(a : std_logic_vector(open)) is + begin + report "a(a'high)=" & std_logic'image(a(a'high)); + end procedure; + +begin + f ("0110"); +end; |