aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue314
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue314')
-rwxr-xr-xtestsuite/gna/issue314/testsuite.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/gna/issue314/testsuite.sh b/testsuite/gna/issue314/testsuite.sh
index 8f6c421bd..2208f2533 100755
--- a/testsuite/gna/issue314/testsuite.sh
+++ b/testsuite/gna/issue314/testsuite.sh
@@ -8,6 +8,12 @@ grep 2:8 t1.err
analyze_failure -ftabstop=4 t1.vhdl 2> t1.err
grep 2:4 t1.err
+analyze_failure -fcaret-diagnostics -ftabstop=4 t1.vhdl 2> t1.err
+grep "^ err;" t1.err
+
+analyze_failure -fcaret-diagnostics t1.vhdl 2> t1.err
+grep "^ err;" t1.err
+
if analyze -ftabstop=0 t1.vhdl; then
echo "error expected"
exit 1