re PR c/55976 (-Werror=return-type should error on returning a value from a void...
authorDavid Pagan <dave.pagan@oracle.com>
Thu, 28 Jun 2018 08:42:17 +0000 (08:42 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 28 Jun 2018 08:42:17 +0000 (08:42 +0000)
2018-06-28  David Pagan  <dave.pagan@oracle.com>

PR c/55976
* gcc.dg/noncompile/pr55976-1.c: Add dg-prune-output for extraneous
message causing unexpected test FAIL.

From-SVN: r262215

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/noncompile/pr55976-1.c

index 4c3c92744c191bfe6774397d643bce514bd47365..e3a52b5db9529eaf51fd53bddf9540434d104cd3 100644 (file)
@@ -1,3 +1,9 @@
+2018-06-28  David Pagan  <dave.pagan@oracle.com>
+
+       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  <mliska@suse.cz>
 
        * gcc.dg/tree-ssa/switch-1.c: New test.
index b3e63283c906c6adff81c710774578440eccb153..d078990bd88f822aa15c2b070f97e493c8f9d26e 100644 (file)
@@ -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.  */