summaryrefslogtreecommitdiff
path: root/testsuite/gna/ticket76/bug.vhdl
diff options
context:
space:
mode:
authorTristan Gingold2015-05-20 21:55:41 +0200
committerTristan Gingold2015-05-20 21:55:41 +0200
commit14e58cb98b543ae1402bf608632d459f03e755e5 (patch)
treead35fc33725f6a708d9cf963288e090412498835 /testsuite/gna/ticket76/bug.vhdl
parent06c4e6e0ba10149b272b0c49869152a50c732ae5 (diff)
downloadghdl-14e58cb98b543ae1402bf608632d459f03e755e5.tar.gz
ghdl-14e58cb98b543ae1402bf608632d459f03e755e5.tar.bz2
ghdl-14e58cb98b543ae1402bf608632d459f03e755e5.zip
Testcase for ticket 76.
Diffstat (limited to 'testsuite/gna/ticket76/bug.vhdl')
-rw-r--r--testsuite/gna/ticket76/bug.vhdl12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/gna/ticket76/bug.vhdl b/testsuite/gna/ticket76/bug.vhdl
new file mode 100644
index 0000000..dd9e6f1
--- /dev/null
+++ b/testsuite/gna/ticket76/bug.vhdl
@@ -0,0 +1,12 @@
+entity ent is
+end entity;
+
+architecture a of ent is
+begin
+ main : process
+ variable t : time := 4 ns;
+ begin
+ report to_string(t / (2 ns));
+ wait;
+ end process;
+end architecture;