diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-08-25 04:01:20 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-08-25 04:01:20 +0200 |
commit | 03d8da61cacd965ff35b6ccba9c458cdf8ad8611 (patch) | |
tree | de7239386b41b9d57a18b39df8adb380f00e8762 | |
parent | 5dcc9b2763c589ee135be62e162bf3dc5e87a81f (diff) | |
download | ghdl-03d8da61cacd965ff35b6ccba9c458cdf8ad8611.tar.gz ghdl-03d8da61cacd965ff35b6ccba9c458cdf8ad8611.tar.bz2 ghdl-03d8da61cacd965ff35b6ccba9c458cdf8ad8611.zip |
Add testcase for issue #132
-rw-r--r-- | testsuite/gna/issue132/repro.vhdl | 4 | ||||
-rwxr-xr-x | testsuite/gna/issue132/testsuite.sh | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/issue132/repro.vhdl b/testsuite/gna/issue132/repro.vhdl new file mode 100644 index 000000000..3b35665b9 --- /dev/null +++ b/testsuite/gna/issue132/repro.vhdl @@ -0,0 +1,4 @@ +package pkg is + constant a : integer := 5; -- Strange but valid character: é + -- Invalid ascii character +end pkg; diff --git a/testsuite/gna/issue132/testsuite.sh b/testsuite/gna/issue132/testsuite.sh new file mode 100755 index 000000000..5c3e58ab0 --- /dev/null +++ b/testsuite/gna/issue132/testsuite.sh @@ -0,0 +1,11 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze_failure repro.vhdl +analyze -C repro.vhdl +analyze --mb-comments repro.vhdl + +clean + +echo "Test successful" |