From 88ccc6df1accdf3c82165f6456255893c72639e8 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 6 Mar 2020 20:35:27 +0100 Subject: testsuite: add a test for previous commit. --- testsuite/gna/bug0111/err.vhdl | 8 ++++++++ testsuite/gna/bug0111/testsuite.sh | 9 +++++++++ 2 files changed, 17 insertions(+) create mode 100644 testsuite/gna/bug0111/err.vhdl create mode 100755 testsuite/gna/bug0111/testsuite.sh diff --git a/testsuite/gna/bug0111/err.vhdl b/testsuite/gna/bug0111/err.vhdl new file mode 100644 index 000000000..3f609adb2 --- /dev/null +++ b/testsuite/gna/bug0111/err.vhdl @@ -0,0 +1,8 @@ +entity err is +end; + +architecture behav of err is + signal t2 : bit; +begin + t0 <= '1'; +end behav; diff --git a/testsuite/gna/bug0111/testsuite.sh b/testsuite/gna/bug0111/testsuite.sh new file mode 100755 index 000000000..ba9c9831f --- /dev/null +++ b/testsuite/gna/bug0111/testsuite.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze_failure err.vhdl + +clean + +echo "Test successful" -- cgit v1.2.3