summaryrefslogtreecommitdiff
path: root/testsuite/gna/ticket64/bug2.vhdl
diff options
context:
space:
mode:
authorTristan Gingold2015-05-16 16:19:03 +0200
committerTristan Gingold2015-05-16 16:19:03 +0200
commita347b47a28cdcb65e5594795947ed12547d4b21e (patch)
tree38e062e4bb74e3838643d71fb54db0f3b42e7d64 /testsuite/gna/ticket64/bug2.vhdl
parent9f82c87370ec57fce0fb9f7e95dd7edec1b66e01 (diff)
downloadghdl-a347b47a28cdcb65e5594795947ed12547d4b21e.tar.gz
ghdl-a347b47a28cdcb65e5594795947ed12547d4b21e.tar.bz2
ghdl-a347b47a28cdcb65e5594795947ed12547d4b21e.zip
Testcase for ticket 64.
Diffstat (limited to 'testsuite/gna/ticket64/bug2.vhdl')
-rw-r--r--testsuite/gna/ticket64/bug2.vhdl15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/ticket64/bug2.vhdl b/testsuite/gna/ticket64/bug2.vhdl
new file mode 100644
index 0000000..2ead4dd
--- /dev/null
+++ b/testsuite/gna/ticket64/bug2.vhdl
@@ -0,0 +1,15 @@
+library ieee;
+use ieee.std_logic_1164.all;
+use ieee.numeric_std.all;
+
+entity ent2 is
+end entity;
+
+architecture a of ent2 is
+ procedure proc(constant value : std_logic_vector) is
+ constant l : natural := maximum (value'length, value'length);
+ begin
+ end procedure;
+begin
+end architecture;
+