diff options
author | Tristan Gingold | 2013-12-29 03:34:37 +0100 |
---|---|---|
committer | Tristan Gingold | 2013-12-29 03:34:37 +0100 |
commit | fffdd1e2a8c729ccb454f2dd9865f682f61610ef (patch) | |
tree | aee6b943412081b1422eb7bf4a47dda0ab1866b9 /testsuite/gna | |
parent | f4976c9f41903ef09b0225977129660a6391042b (diff) | |
download | ghdl-fffdd1e2a8c729ccb454f2dd9865f682f61610ef.tar.gz ghdl-fffdd1e2a8c729ccb454f2dd9865f682f61610ef.tar.bz2 ghdl-fffdd1e2a8c729ccb454f2dd9865f682f61610ef.zip |
Add bug17545.
Diffstat (limited to 'testsuite/gna')
-rw-r--r-- | testsuite/gna/bug17545/bug.vhdl | 17 | ||||
-rwxr-xr-x | testsuite/gna/bug17545/testsuite.sh | 10 |
2 files changed, 27 insertions, 0 deletions
diff --git a/testsuite/gna/bug17545/bug.vhdl b/testsuite/gna/bug17545/bug.vhdl new file mode 100644 index 0000000..cca1e68 --- /dev/null +++ b/testsuite/gna/bug17545/bug.vhdl @@ -0,0 +1,17 @@ +use std.textio.all; +library ieee; +use ieee.numeric_bit.all; + +entity bug is +end bug; + +architecture misbehave of bug is + begin + process + variable l : line; + begin + write (l, bit'image('1')); + writeline (output, l); + wait; + end process; +end misbehave; diff --git a/testsuite/gna/bug17545/testsuite.sh b/testsuite/gna/bug17545/testsuite.sh new file mode 100755 index 0000000..8fe9a94 --- /dev/null +++ b/testsuite/gna/bug17545/testsuite.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze bug.vhdl +elab_simulate bug + +clean + +echo "Test successful" |