summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr15698-1.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-17 23:56:41 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-17 23:56:41 +0000
commitc3bdbc8f1a8b0ca786f26ffa29b3445e2f823e1c (patch)
treec0c183a61393e3f02dd1b8b6ec8d70e74d331871 /gcc/testsuite/gcc.dg/pr15698-1.c
parent13ffe55f99440fec09ab4d8ba8bf8d448a6db83c (diff)
downloadgcc-c3bdbc8f1a8b0ca786f26ffa29b3445e2f823e1c.tar.gz
Merge to 148549.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/transactional-memory@148636 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr15698-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/pr15698-1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/pr15698-1.c b/gcc/testsuite/gcc.dg/pr15698-1.c
index 6bb001aea7f..5a75a10733f 100644
--- a/gcc/testsuite/gcc.dg/pr15698-1.c
+++ b/gcc/testsuite/gcc.dg/pr15698-1.c
@@ -17,7 +17,7 @@ int foobar ()
}
char *rindex(a, b)
- register char *a, b;
-{ /* { dg-warning "argument 'a' doesn't match built-in prototype" } */
+ register char *a, b; /* { dg-warning "argument 'a' doesn't match built-in prototype" } */
+{
return 0;
}