summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/return-type-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/return-type-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/return-type-1.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/testsuite/gcc.dg/return-type-1.c b/gcc/testsuite/gcc.dg/return-type-1.c
deleted file mode 100644
index 4b245533ac9..00000000000
--- a/gcc/testsuite/gcc.dg/return-type-1.c
+++ /dev/null
@@ -1,9 +0,0 @@
-/* Missing warning for falling off the end of a non-void function.
- egcs-1.1.2 passes, egcs-ss-19990428 fails.
- http://egcs.cygnus.com/ml/egcs-bugs/1999-03/msg00220.html */
-/* { dg-do compile } */
-/* { 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" } */