aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue886/repro2.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-08-10 06:04:06 +0200
committerTristan Gingold <tgingold@free.fr>2019-08-10 06:04:06 +0200
commit87ecd5eb42f94369dd55702686967439b378a913 (patch)
tree2c68fceb91af00a39b10549e84450c9cd66f9cbb /testsuite/gna/issue886/repro2.vhdl
parentffd1826443067ed63de998c3a301103305e3ab0d (diff)
downloadghdl-87ecd5eb42f94369dd55702686967439b378a913.tar.gz
ghdl-87ecd5eb42f94369dd55702686967439b378a913.tar.bz2
ghdl-87ecd5eb42f94369dd55702686967439b378a913.zip
Add testcase for #886
Diffstat (limited to 'testsuite/gna/issue886/repro2.vhdl')
-rw-r--r--testsuite/gna/issue886/repro2.vhdl8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/gna/issue886/repro2.vhdl b/testsuite/gna/issue886/repro2.vhdl
new file mode 100644
index 000000000..ffb2e7830
--- /dev/null
+++ b/testsuite/gna/issue886/repro2.vhdl
@@ -0,0 +1,8 @@
+entity repro2 is
+end;
+
+architecture behav of repro2 is
+ constant c : string := "hello";
+ constant d : time := 1.5e2 c'length;
+begin
+end behav;