Commit 66dfffa2 by Janis Johnson Committed by Janis Johnson

dg-bogus-exp-XF.c: Move dg-bogus directive.

	* gcc.test-framework/dg-bogus-exp-XF.c: Move dg-bogus directive.
	* gcc.test-framework/dg-warning-exp-P.c: Move dg-warning directives.

From-SVN: r152284
parent 08cc1e7f
2009-09-29 Janis Johnson <janis187@us.ibm.com>
* gcc.test-framework/dg-bogus-exp-XF.c: Move dg-bogus directive.
* gcc.test-framework/dg-warning-exp-P.c: Move dg-warning directives.
2009-09-29 Jakub Jelinek <jakub@redhat.com> 2009-09-29 Jakub Jelinek <jakub@redhat.com>
PR debug/41438 PR debug/41438
......
...@@ -2,8 +2,7 @@ ...@@ -2,8 +2,7 @@
/* { dg-prms-id 42 } */ /* { dg-prms-id 42 } */
/* { dg-options "-Wall" } */ /* { dg-options "-Wall" } */
main (int argc, char *argv[]) main (int argc, char *argv[]) { /* { dg-bogus "return type" "bogus pass test" { xfail *-*-* } } */
{ /* { dg-bogus "return type" "bogus pass test" { xfail *-*-* } } */
} }
/* { dg-excess-errors "bogus pass test" { xfail *-*-* } } */ /* { dg-excess-errors "bogus pass test" { xfail *-*-* } } */
...@@ -2,10 +2,8 @@ ...@@ -2,10 +2,8 @@
/* { dg-prms-id 42 } */ /* { dg-prms-id 42 } */
/* { dg-options "-Wall" } */ /* { dg-options "-Wall" } */
f () f () { /* { dg-warning "return type" "warning test" } */
{ /* { dg-warning "return type" "warning test" } */
} /* { dg-warning "control reaches end" "warning test" } */ } /* { dg-warning "control reaches end" "warning test" } */
main (int argc, char *argv[]) main (int argc, char *argv[]) { /* { dg-warning "return type" "warning test" } */
{ /* { dg-warning "return type" "warning test" } */
} /* { dg-warning "control reaches end" "warning test" } */ } /* { dg-warning "control reaches end" "warning test" } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment