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
This commit is contained in:
Janis Johnson 2009-09-29 17:40:28 +00:00 committed by Janis Johnson
parent 08cc1e7fb7
commit 66dfffa291
3 changed files with 9 additions and 7 deletions

View File

@ -1,3 +1,8 @@
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>
PR debug/41438

View File

@ -2,8 +2,7 @@
/* { dg-prms-id 42 } */
/* { dg-options "-Wall" } */
main (int argc, char *argv[])
{ /* { dg-bogus "return type" "bogus pass test" { xfail *-*-* } } */
main (int argc, char *argv[]) { /* { dg-bogus "return type" "bogus pass test" { xfail *-*-* } } */
}
/* { dg-excess-errors "bogus pass test" { xfail *-*-* } } */

View File

@ -2,10 +2,8 @@
/* { dg-prms-id 42 } */
/* { dg-options "-Wall" } */
f ()
{ /* { dg-warning "return type" "warning test" } */
f () { /* { dg-warning "return type" "warning test" } */
} /* { dg-warning "control reaches end" "warning test" } */
main (int argc, char *argv[])
{ /* { dg-warning "return type" "warning test" } */
} /* { dg-warning "control reaches end" "warning test" } */
main (int argc, char *argv[]) { /* { dg-warning "return type" "warning test" } */
} /* { dg-warning "control reaches end" "warning test" } */