diff options
Diffstat (limited to 'testsuite/gna')
-rw-r--r-- | testsuite/gna/issue148/bug_sim.vhdl | 17 | ||||
-rwxr-xr-x | testsuite/gna/issue148/testsuite.sh | 9 |
2 files changed, 26 insertions, 0 deletions
diff --git a/testsuite/gna/issue148/bug_sim.vhdl b/testsuite/gna/issue148/bug_sim.vhdl new file mode 100644 index 000000000..2a27adcc0 --- /dev/null +++ b/testsuite/gna/issue148/bug_sim.vhdl @@ -0,0 +1,17 @@ +entity bug is + port(data: out integer); +end entity bug; + +architecture arc of bug is +begin +end architecture arc; + +entity bug_sim is +end entity bug_sim; + +architecture sim of bug_sim is + signal data: natural; +begin + u0: entity work.bug + port map(data => data); +end architecture sim; diff --git a/testsuite/gna/issue148/testsuite.sh b/testsuite/gna/issue148/testsuite.sh new file mode 100755 index 000000000..baa136e35 --- /dev/null +++ b/testsuite/gna/issue148/testsuite.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze bug_sim.vhdl +elab_failure bug_sim +clean + +echo "Test successful" |