diff options
-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 000000000..cca1e6889 --- /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 000000000..8fe9a9494 --- /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" |