aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug0111
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-03-06 20:35:27 +0100
committerTristan Gingold <tgingold@free.fr>2020-03-06 20:35:27 +0100
commit88ccc6df1accdf3c82165f6456255893c72639e8 (patch)
tree8bd0cbff6b6a0ef39c474e24454cc66cb751684a /testsuite/gna/bug0111
parenta03907b584362b4b6a935781c0bd79fb63c21696 (diff)
downloadghdl-88ccc6df1accdf3c82165f6456255893c72639e8.tar.gz
ghdl-88ccc6df1accdf3c82165f6456255893c72639e8.tar.bz2
ghdl-88ccc6df1accdf3c82165f6456255893c72639e8.zip
testsuite: add a test for previous commit.
Diffstat (limited to 'testsuite/gna/bug0111')
-rw-r--r--testsuite/gna/bug0111/err.vhdl8
-rwxr-xr-xtestsuite/gna/bug0111/testsuite.sh9
2 files changed, 17 insertions, 0 deletions
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"