diff options
author | Tristan Gingold | 2015-05-20 21:55:41 +0200 |
---|---|---|
committer | Tristan Gingold | 2015-05-20 21:55:41 +0200 |
commit | 14e58cb98b543ae1402bf608632d459f03e755e5 (patch) | |
tree | ad35fc33725f6a708d9cf963288e090412498835 /testsuite | |
parent | 06c4e6e0ba10149b272b0c49869152a50c732ae5 (diff) | |
download | ghdl-14e58cb98b543ae1402bf608632d459f03e755e5.tar.gz ghdl-14e58cb98b543ae1402bf608632d459f03e755e5.tar.bz2 ghdl-14e58cb98b543ae1402bf608632d459f03e755e5.zip |
Testcase for ticket 76.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/gna/ticket76/bug.vhdl | 12 | ||||
-rwxr-xr-x | testsuite/gna/ticket76/testsuite.sh | 10 |
2 files changed, 22 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; diff --git a/testsuite/gna/ticket76/testsuite.sh b/testsuite/gna/ticket76/testsuite.sh new file mode 100755 index 0000000..e0096bb --- /dev/null +++ b/testsuite/gna/ticket76/testsuite.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. ../../testenv.sh + +GHDL_STD_FLAGS=--std=08 +analyze bug.vhdl +elab_simulate ent +clean + +echo "Test successful" |