OSDN Git Service

Merge in xfails from PR14107.
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Jun 2004 20:33:54 +0000 (20:33 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Jun 2004 20:33:54 +0000 (20:33 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82999 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/g++.old-deja/g++.bugs/900205_03.C
gcc/testsuite/g++.old-deja/g++.mike/p646.C

index b22172d..192f2d0 100644 (file)
 struct struct00 { };
 
 int global_function_0 () {
-}                                      // { dg-error "" 
+}                                      // { dg-error "" "" { xfail *-*-* } }
 
 struct00 global_function_1 () {
-}                                      // { dg-error "" 
+}                                      // { dg-error "" "" { xfail *-*-* } }
 
 struct struct0 {
 
@@ -41,9 +41,9 @@ struct struct1 {
 };
 
 int struct1_member_function_0 () {
-}                                      // { dg-error "" 
+}                                      // { dg-error "" "" { xfail *-*-* } }
 
 struct1 struct1::struct1_member_function_1 () {
-}                                      // { dg-error "" 
+}                                      // { dg-error "" "" { xfail *-*-* } }
 
 int main () { return 0; }
index 6d5abcd..bc9a203 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do assemble  }
 // { dg-options "-Wno-deprecated -Wreturn-type" }
+//
 // GROUPS passed i960
 /*
   Bug Id: bnr
@@ -101,7 +102,7 @@ warn_return_1 ()
 {
   foo f;
   printf ("returning 1\n");
-}                              // { dg-warning "" } control reaches end
+}                              // { dg-warning "" "" { xfail *-*-* } } control reaches end
 
 int
 warn_return_arg (int arg)
@@ -109,7 +110,7 @@ warn_return_arg (int arg)
   foo f;
   printf ("returning %d\n", arg);
   arg;
-}                              // { dg-warning "" } control reaches end
+}                              // { dg-warning "" "" { xfail *-*-* } } control reaches end
 
 int
 warn_return_sum (int x, int y)
@@ -117,20 +118,20 @@ warn_return_sum (int x, int y)
   foo f;
   printf ("returning %d+%d\n", x, y);
   x + y;
-}                              // { dg-warning "" } control reaches end
+}                              // { dg-warning "" "" { xfail *-*-* } } control reaches end
 
 foo
 warn_return_foo ()
 {
   foo f;
   printf ("returning foo\n");
-}                              // { dg-warning "" } control reaches end
+}                              // { dg-warning "" "" { xfail *-*-* } } control reaches end
 
 foo
 warn_foo_parm_returns_foo (foo f)
 {
   f;
-}                              // { dg-warning "" } control reaches end
+}                              // { dg-warning "" "" { xfail *-*-* } } control reaches end
 
 main ()
 {                              // { dg-warning "" } no type