From d61572e39c61fbd4b6f4fa48c08a159d0b3d3a73 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 4 Feb 2020 18:26:21 +0100 Subject: testsuite/gna: add a test for previous commit. --- testsuite/gna/bug0100/procinter.vhdl | 10 ++++++++++ testsuite/gna/bug0100/testsuite.sh | 5 +++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 testsuite/gna/bug0100/procinter.vhdl (limited to 'testsuite') diff --git a/testsuite/gna/bug0100/procinter.vhdl b/testsuite/gna/bug0100/procinter.vhdl new file mode 100644 index 000000000..2090af217 --- /dev/null +++ b/testsuite/gna/bug0100/procinter.vhdl @@ -0,0 +1,10 @@ +entity procinter is +end; + +architecture arch of procinter is + procedure proc (procedure proc2 (v : natural)) is + begin + null; + end proc; +begin +end arch; diff --git a/testsuite/gna/bug0100/testsuite.sh b/testsuite/gna/bug0100/testsuite.sh index efd122b9c..92b8ad212 100755 --- a/testsuite/gna/bug0100/testsuite.sh +++ b/testsuite/gna/bug0100/testsuite.sh @@ -8,8 +8,9 @@ analyze_failure --force-analysis notype2.vhdl analyze_failure --force-analysis nochoice1.vhdl analyze_failure --force-analysis nochoice2.vhdl analyze_failure --force-analysis choicelen.vhdl -analyze_failure --force-analysis noexpr.vhdl -analyze_failure --force-analysis str.vhdl +analyze_failure --force-analysis noexpr.vhdl +analyze_failure --force-analysis str.vhdl +analyze_failure --force-analysis procinter.vhdl analyze_failure usrattr.vhdl analyze_failure forloop.vhdl -- cgit v1.2.3