gcc-dg.exp (process-message): Support relative line number notation - .+4 or .-1...
authorJakub Jelinek <jakub@gcc.gnu.org>
Fri, 23 Sep 2016 09:23:52 +0000 (11:23 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 23 Sep 2016 09:23:52 +0000 (11:23 +0200)
commitb437ebca65d92d0fc236dd0ceaff3d8f6fcc26d8
tree168818fd51f42b840c765dac6d3f019eb02f1def
parentb1a970a5cc7730abed0f1710a8c6385f6a5fcc99
gcc-dg.exp (process-message): Support relative line number notation - .+4 or .-1 etc.

* lib/gcc-dg.exp (process-message): Support relative line number
notation - .+4 or .-1 etc.
* gcc.dg/dg-test-1.c: New test.

From-SVN: r240405
gcc/testsuite/gcc.dg/dg-test-1.c [new file with mode: 0644]