diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-06-26 07:40:17 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-06-26 07:40:17 +0200 |
commit | c04f797dd4e9593b00c3abe72ba375932806305c (patch) | |
tree | 8f582a06044870dbf82e481d2fb8a16c765db5b8 /testsuite/gna | |
parent | ab0733b03849efca10eab69704f5c942a4831332 (diff) | |
download | ghdl-c04f797dd4e9593b00c3abe72ba375932806305c.tar.gz ghdl-c04f797dd4e9593b00c3abe72ba375932806305c.tar.bz2 ghdl-c04f797dd4e9593b00c3abe72ba375932806305c.zip |
testsuite/gna: add tests for #2110
Diffstat (limited to 'testsuite/gna')
-rw-r--r-- | testsuite/gna/issue2110/conf1.vhdl | 3 | ||||
-rw-r--r-- | testsuite/gna/issue2110/psl1.vhdl | 1 | ||||
-rw-r--r-- | testsuite/gna/issue2110/psl2.vhdl | 1 | ||||
-rw-r--r-- | testsuite/gna/issue2110/retid.vhdl | 1 | ||||
-rwxr-xr-x | testsuite/gna/issue2110/testsuite.sh | 13 |
5 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/gna/issue2110/conf1.vhdl b/testsuite/gna/issue2110/conf1.vhdl new file mode 100644 index 000000000..f3c37ca97 --- /dev/null +++ b/testsuite/gna/issue2110/conf1.vhdl @@ -0,0 +1,3 @@ +configuration" +" +for
\ No newline at end of file diff --git a/testsuite/gna/issue2110/psl1.vhdl b/testsuite/gna/issue2110/psl1.vhdl new file mode 100644 index 000000000..69d0df631 --- /dev/null +++ b/testsuite/gna/issue2110/psl1.vhdl @@ -0,0 +1 @@ +entity begin restrict[*to 0
\ No newline at end of file diff --git a/testsuite/gna/issue2110/psl2.vhdl b/testsuite/gna/issue2110/psl2.vhdl new file mode 100644 index 000000000..01fbea406 --- /dev/null +++ b/testsuite/gna/issue2110/psl2.vhdl @@ -0,0 +1 @@ +architecturerestrict[=to 0
\ No newline at end of file diff --git a/testsuite/gna/issue2110/retid.vhdl b/testsuite/gna/issue2110/retid.vhdl new file mode 100644 index 000000000..1b5482847 --- /dev/null +++ b/testsuite/gna/issue2110/retid.vhdl @@ -0,0 +1 @@ +package function return g.b of
\ No newline at end of file diff --git a/testsuite/gna/issue2110/testsuite.sh b/testsuite/gna/issue2110/testsuite.sh new file mode 100755 index 000000000..0524390f9 --- /dev/null +++ b/testsuite/gna/issue2110/testsuite.sh @@ -0,0 +1,13 @@ +#! /bin/sh + +. ../../testenv.sh + +export GHDL_STD_FLAGS=--std=08 +for f in conf1.vhdl psl1.vhdl psl2.vhdl retid.vhdl; do + analyze_failure $f +done + +clean + +echo "Test successful" + |