aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-02-04 18:26:21 +0100
committerTristan Gingold <tgingold@free.fr>2020-02-04 18:26:21 +0100
commitd61572e39c61fbd4b6f4fa48c08a159d0b3d3a73 (patch)
tree25044d1c9b4660579b7b0ee366b971feb03ebc24 /testsuite/gna
parent4fd8fb781846ae49791177ad57aeff6051c54507 (diff)
downloadghdl-d61572e39c61fbd4b6f4fa48c08a159d0b3d3a73.tar.gz
ghdl-d61572e39c61fbd4b6f4fa48c08a159d0b3d3a73.tar.bz2
ghdl-d61572e39c61fbd4b6f4fa48c08a159d0b3d3a73.zip
testsuite/gna: add a test for previous commit.
Diffstat (limited to 'testsuite/gna')
-rw-r--r--testsuite/gna/bug0100/procinter.vhdl10
-rwxr-xr-xtestsuite/gna/bug0100/testsuite.sh5
2 files changed, 13 insertions, 2 deletions
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