aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-06-04 18:25:44 +0200
committerTristan Gingold <tgingold@free.fr>2019-06-04 18:25:44 +0200
commitf653b8b1328f2ec6d13f221ee6f9817091de91f6 (patch)
treee78650810191e5ace6666f4d8ed51a6ef000abfa /testsuite
parentd1f7d9d8c85c7b97c3bf8acf791aa7b15c2039bf (diff)
downloadghdl-f653b8b1328f2ec6d13f221ee6f9817091de91f6.tar.gz
ghdl-f653b8b1328f2ec6d13f221ee6f9817091de91f6.tar.bz2
ghdl-f653b8b1328f2ec6d13f221ee6f9817091de91f6.zip
Add a test for force-analysis.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/gna/bug0100/inst1.vhdl7
-rwxr-xr-xtestsuite/gna/bug0100/testsuite.sh9
2 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/gna/bug0100/inst1.vhdl b/testsuite/gna/bug0100/inst1.vhdl
new file mode 100644
index 000000000..acf59d22a
--- /dev/null
+++ b/testsuite/gna/bug0100/inst1.vhdl
@@ -0,0 +1,7 @@
+entity inst1 is
+end;
+
+architecture behav of inst1 is
+begin
+ ins : entity ;
+end behav;
diff --git a/testsuite/gna/bug0100/testsuite.sh b/testsuite/gna/bug0100/testsuite.sh
new file mode 100755
index 000000000..27d530133
--- /dev/null
+++ b/testsuite/gna/bug0100/testsuite.sh
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+analyze_failure --force-analysis inst1.vhdl
+
+clean
+
+echo "Test successful"