diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4c3c92744c1..e3a52b5db95 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-06-28 David Pagan + + PR c/55976 + * gcc.dg/noncompile/pr55976-1.c: Add dg-prune-output for extraneous + message causing unexpected test FAIL. + 2018-06-28 Martin Liska * gcc.dg/tree-ssa/switch-1.c: New test. diff --git a/gcc/testsuite/gcc.dg/noncompile/pr55976-1.c b/gcc/testsuite/gcc.dg/noncompile/pr55976-1.c index b3e63283c90..d078990bd88 100644 --- a/gcc/testsuite/gcc.dg/noncompile/pr55976-1.c +++ b/gcc/testsuite/gcc.dg/noncompile/pr55976-1.c @@ -1,6 +1,7 @@ /* PR c/55976 */ /* { dg-do compile } */ /* { dg-options "-Werror=return-type" } */ +/* { dg-prune-output "some warnings being treated as errors" } */ /* Verify warnings for return type become errors. */