From 7cee2ba98f47f6ee7b7ffbe0d9555a972c8afc8b Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 4 May 2019 16:37:23 +0200 Subject: Add a testcase for previous patch. --- testsuite/gna/bug099/repro.vhdl | 7 +++++++ testsuite/gna/bug099/testsuite.sh | 9 +++++++++ 2 files changed, 16 insertions(+) create mode 100644 testsuite/gna/bug099/repro.vhdl create mode 100755 testsuite/gna/bug099/testsuite.sh 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" -- cgit v1.2.3