* gcc.dg/noreturn-1.c: Move noreturn warning line.
* gcc.dg/return-type-1.c: Move control reaches end warning line.
From-SVN: r63598
+2003-02-28 Richard Henderson <rth@redhat.com>
+
+ * gcc.dg/noreturn-1.c: Move noreturn warning line.
+ * gcc.dg/return-type-1.c: Move control reaches end warning line.
+
2003-02-28 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/pch.exp: Change .pch to .gch.
extern void foo1(void) __attribute__ ((__noreturn__));
void
foo1(void)
-{
-} /* { dg-warning "`noreturn' function does return" "detect falling off end of noreturn" } */
+{ /* { dg-warning "`noreturn' function does return" "detect falling off end of noreturn" } */
+}
extern void foo2(void) __attribute__ ((__noreturn__));
void
/* { dg-options "-O -Wreturn-type" } */
int
foo(void)
-{
-} /* { dg-warning "control reaches end of non-void function" "warning for falling off end of non-void function" } */
+{ /* { dg-warning "control reaches end of non-void function" "warning for falling off end of non-void function" } */
+}