aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-05-04 16:37:23 +0200
committerTristan Gingold <tgingold@free.fr>2019-05-04 16:37:23 +0200
commit7cee2ba98f47f6ee7b7ffbe0d9555a972c8afc8b (patch)
tree489558d16e430a64df434614a68ae4ea0622fb99
parentf6aab8b287186c49b5534c13e196ac72dc622bd4 (diff)
downloadghdl-7cee2ba98f47f6ee7b7ffbe0d9555a972c8afc8b.tar.gz
ghdl-7cee2ba98f47f6ee7b7ffbe0d9555a972c8afc8b.tar.bz2
ghdl-7cee2ba98f47f6ee7b7ffbe0d9555a972c8afc8b.zip
Add a testcase for previous patch.
-rw-r--r--testsuite/gna/bug099/repro.vhdl7
-rwxr-xr-xtestsuite/gna/bug099/testsuite.sh9
2 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/gna/bug099/repro.vhdl b/testsuite/gna/bug099/repro.vhdl
new file mode 100644
index 000000000..4b53433bc
--- /dev/null
+++ b/testsuite/gna/bug099/repro.vhdl
@@ -0,0 +1,7 @@
+`entity fum is
+`end entity;
+`
+`architecture bul of fum is
+` begin
+` end architecture;
+```
diff --git a/testsuite/gna/bug099/testsuite.sh b/testsuite/gna/bug099/testsuite.sh
new file mode 100755
index 000000000..5defdcf1e
--- /dev/null
+++ b/testsuite/gna/bug099/testsuite.sh
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+analyze_failure repro.vhdl
+
+clean
+
+echo "Test successful"