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:
parent
08cc1e7fb7
commit
66dfffa291
@ -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
|
||||
|
@ -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 *-*-* } } */
|
||||
|
@ -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" } */
|
||||
|
Loading…
Reference in New Issue
Block a user