summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-29 17:40:28 +0000
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-29 17:40:28 +0000
commiteff3946610967dc7bc2b717782d4b269ee7cb3f3 (patch)
tree038c7c7064bdc4a0c4047379217b872ff4ec3ac1
parent71846571b38c5fca9841ad60cb0e4717534abe02 (diff)
downloadgcc-eff3946610967dc7bc2b717782d4b269ee7cb3f3.tar.gz
* gcc.test-framework/dg-bogus-exp-XF.c: Move dg-bogus directive.
* gcc.test-framework/dg-warning-exp-P.c: Move dg-warning directives. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152284 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.test-framework/dg-bogus-exp-XF.c3
-rw-r--r--gcc/testsuite/gcc.test-framework/dg-warning-exp-P.c8
3 files changed, 9 insertions, 7 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index fd019e20794..c9acd7dbe1e 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 60c9147af6e..31383e5d08b 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 293e1194df4..0350e52167a 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" } */