From fffdd1e2a8c729ccb454f2dd9865f682f61610ef Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 29 Dec 2013 03:34:37 +0100 Subject: Add bug17545. --- testsuite/gna/bug17545/bug.vhdl | 17 +++++++++++++++++ testsuite/gna/bug17545/testsuite.sh | 10 ++++++++++ 2 files changed, 27 insertions(+) create mode 100644 testsuite/gna/bug17545/bug.vhdl create mode 100755 testsuite/gna/bug17545/testsuite.sh (limited to 'testsuite/gna/bug17545') 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" -- cgit v1.2.3