diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-10-06 07:29:28 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-10-06 07:44:30 +0200 |
commit | cd3a3210d6817714ec47e6028d696be3169c427a (patch) | |
tree | 784c820c34d07d4942ece655b346a2a236d73826 /testsuite/gna | |
parent | b80cfa868b4a74b20ce68247cbaadc9ab1d2ee9f (diff) | |
download | ghdl-cd3a3210d6817714ec47e6028d696be3169c427a.tar.gz ghdl-cd3a3210d6817714ec47e6028d696be3169c427a.tar.bz2 ghdl-cd3a3210d6817714ec47e6028d696be3169c427a.zip |
testsuite/gna: add a test for #1883
Diffstat (limited to 'testsuite/gna')
-rw-r--r-- | testsuite/gna/issue1883/repro.vhdl | 4 | ||||
-rwxr-xr-x | testsuite/gna/issue1883/testsuite.sh | 18 |
2 files changed, 22 insertions, 0 deletions
diff --git a/testsuite/gna/issue1883/repro.vhdl b/testsuite/gna/issue1883/repro.vhdl new file mode 100644 index 000000000..c17ac5870 --- /dev/null +++ b/testsuite/gna/issue1883/repro.vhdl @@ -0,0 +1,4 @@ +-- My comment ƒ¦ îOD:x + +entity ent is +end; diff --git a/testsuite/gna/issue1883/testsuite.sh b/testsuite/gna/issue1883/testsuite.sh new file mode 100755 index 000000000..56a4dedd2 --- /dev/null +++ b/testsuite/gna/issue1883/testsuite.sh @@ -0,0 +1,18 @@ +#! /bin/sh + +. ../../testenv.sh + +export GHDL_STD_FLAGS=--std=08 +analyze repro.vhdl +clean + +export GHDL_STD_FLAGS=--std=02 +analyze repro.vhdl +clean + +export GHDL_STD_FLAGS=--std=93 +analyze_failure repro.vhdl +analyze -C repro.vhdl +clean + +echo "Test successful" |