summaryrefslogtreecommitdiff
path: root/testsuite/gna/ticket81/bug.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/ticket81/bug.vhdl')
-rw-r--r--testsuite/gna/ticket81/bug.vhdl13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/gna/ticket81/bug.vhdl b/testsuite/gna/ticket81/bug.vhdl
new file mode 100644
index 0000000..f2d76d6
--- /dev/null
+++ b/testsuite/gna/ticket81/bug.vhdl
@@ -0,0 +1,13 @@
+entity ent is
+end entity;
+
+architecture a of ent is
+begin
+ main : process
+ variable bv : bit_vector(0 to 0);
+ begin
+ report to_string(bv'length); -- Works
+ report to_string(2 * bv'length); -- Does not work
+ wait;
+ end process;
+end architecture;