From 854c10fe722401459e9c6a9d2bc4af7aefdfc6c8 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 14 Mar 2017 08:11:56 +0100 Subject: Test #314: add test for -fcaret-diagnostics --- testsuite/gna/issue314/testsuite.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'testsuite') 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 -- cgit v1.2.3