diff options
author | Janis Johnson <janis187@us.ibm.com> | 2009-09-29 17:40:28 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2009-09-29 17:40:28 +0000 |
commit | 66dfffa2913a5afb7b93be318537c015ce34cdfc (patch) | |
tree | 038c7c7064bdc4a0c4047379217b872ff4ec3ac1 /gcc | |
parent | 08cc1e7fb75f16d0d9859eb605c2a6936e865deb (diff) | |
download | gcc-66dfffa2913a5afb7b93be318537c015ce34cdfc.zip gcc-66dfffa2913a5afb7b93be318537c015ce34cdfc.tar.gz gcc-66dfffa2913a5afb7b93be318537c015ce34cdfc.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.test-framework/dg-bogus-exp-XF.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.test-framework/dg-warning-exp-P.c | 8 |
3 files changed, 9 insertions, 7 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fd019e2..c9acd7d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/gcc.test-framework/dg-bogus-exp-XF.c b/gcc/testsuite/gcc.test-framework/dg-bogus-exp-XF.c index 60c9147..31383e5 100644 --- a/gcc/testsuite/gcc.test-framework/dg-bogus-exp-XF.c +++ b/gcc/testsuite/gcc.test-framework/dg-bogus-exp-XF.c @@ -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 *-*-* } } */ diff --git a/gcc/testsuite/gcc.test-framework/dg-warning-exp-P.c b/gcc/testsuite/gcc.test-framework/dg-warning-exp-P.c index 293e119..0350e521 100644 --- a/gcc/testsuite/gcc.test-framework/dg-warning-exp-P.c +++ b/gcc/testsuite/gcc.test-framework/dg-warning-exp-P.c @@ -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" } */ |