aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1727/ent.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue1727/ent.vhdl')
-rw-r--r--testsuite/gna/issue1727/ent.vhdl14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/gna/issue1727/ent.vhdl b/testsuite/gna/issue1727/ent.vhdl
new file mode 100644
index 000000000..2ab6defc3
--- /dev/null
+++ b/testsuite/gna/issue1727/ent.vhdl
@@ -0,0 +1,14 @@
+entity ent is
+end entity;
+
+architecture beh of ent is
+type t_type is (NAME1, NAME2);
+begin
+ process
+ constant c_string : string := "something";
+ begin
+ report "Length is " & to_string(c_string'lenght);
+ report "Length is " & to_string(t_type'image(NAME1)'lenght);
+ wait;
+ end process;
+end architecture beh;