aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/gcc.dg/pr15698-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/pr15698-1.c')
-rw-r--r--gcc-4.8.1/gcc/testsuite/gcc.dg/pr15698-1.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/pr15698-1.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/pr15698-1.c
deleted file mode 100644
index 5a75a1073..000000000
--- a/gcc-4.8.1/gcc/testsuite/gcc.dg/pr15698-1.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Test diagnostics for old-style definition not matching prior
- prototype are present and give correct location for that prototype
- (bug 15698). Original test. */
-/* { dg-do compile } */
-/* { dg-options "-std=gnu99" } */
-
-int foobar ();
-
-int func (int blah)
-{
- char *rindex();
-}
-
-int foobar ()
-{
- return 0;
-}
-
-char *rindex(a, b)
- register char *a, b; /* { dg-warning "argument 'a' doesn't match built-in prototype" } */
-{
- return 0;
-}