2017-11-14 23:21 GMT+01:00 Fritz Reese <fritzore...@gmail.com>: > On Tue, Nov 14, 2017 at 4:58 PM, Janus Weil <ja...@gcc.gnu.org> wrote: >> Hi guys, >> >> I see this new test case failing on x86_64-linux-gnu: >> >> FAIL: gfortran.dg/pr78240.f90 -O (test for excess errors) >> >> >> $ gfortran-8 pr78240.f90 >> pr78240.f90:11:12: >> >> integer x(n) /1/ ! { dg-error "Nonconstant array" } >> 1 >> Error: Variable ānā cannot appear in the expression at (1) >> pr78240.f90:11:14: >> >> integer x(n) /1/ ! { dg-error "Nonconstant array" } >> 1 >> Error: The module or main program array āxā at (1) must have constant shape >> pr78240.f90:11:19: >> >> integer x(n) /1/ ! { dg-error "Nonconstant array" } >> 1 >> Error: Nonconstant array section at (1) in DATA statement >> [...] > > ... does anyone know how to tell dejagnu to expect multiple errors on > a single line?
I think this is covered here: https://gcc.gnu.org/wiki/TestCaseWriting Cheers, Janus