OSDN Git Service

* gcc.test-framework/README: Describe tests in source directory.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.test-framework / dg-warning-exp-P.c
similarity index 59%
rename from gcc/testsuite/gcc.misc-tests/dg-9.c
rename to gcc/testsuite/gcc.test-framework/dg-warning-exp-P.c
index b228fff..293e119 100644 (file)
@@ -1,4 +1,4 @@
-/* Test the tester.  */
+/* Test the tester; previously part of gcc.misc-tests/dg-9.c.  */
 /* { dg-prms-id 42 } */
 /* { dg-options "-Wall" } */
 
@@ -8,8 +8,4 @@ f ()
 
 main (int argc, char *argv[])
 {              /* { dg-warning "return type" "warning test" } */
-  +;           /* { dg-error "parse" "error test" } */
-               /* { dg-bogus "foobar" "bogus fail test" } */
-
-  return a;    /* { dg-bogus "undeclared|identifier|appears" "bogus pass test" { xfail *-*-* } } */
 }              /* { dg-warning "control reaches end" "warning test" } */