aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-08-25 04:01:20 +0200
committerTristan Gingold <tgingold@free.fr>2016-08-25 04:01:20 +0200
commit03d8da61cacd965ff35b6ccba9c458cdf8ad8611 (patch)
treede7239386b41b9d57a18b39df8adb380f00e8762 /testsuite/gna
parent5dcc9b2763c589ee135be62e162bf3dc5e87a81f (diff)
downloadghdl-03d8da61cacd965ff35b6ccba9c458cdf8ad8611.tar.gz
ghdl-03d8da61cacd965ff35b6ccba9c458cdf8ad8611.tar.bz2
ghdl-03d8da61cacd965ff35b6ccba9c458cdf8ad8611.zip
Add testcase for issue #132
Diffstat (limited to 'testsuite/gna')
-rw-r--r--testsuite/gna/issue132/repro.vhdl4
-rwxr-xr-xtestsuite/gna/issue132/testsuite.sh11
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"