summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-27 18:23:33 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-27 18:23:33 +0000
commit7773dd64efcefe7dd424335e25ddaa27d8889002 (patch)
treeafbc2ac825168267944a989a470b5a45449a7600 /gcc/testsuite/gcc.c-torture
parentae567dd25a2afa0ca4b2d927e4f9dd45a72c60ae (diff)
downloadgcc-7773dd64efcefe7dd424335e25ddaa27d8889002.tar.gz
2002-06-27 Aldy Hernandez <aldyh@redhat.com>
* gcc.c-torture/execute/string-opt-8.c (strncmp): Fix typo in return type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55035 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.c-torture')
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/string-opt-8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/string-opt-8.c b/gcc/testsuite/gcc.c-torture/execute/string-opt-8.c
index bd6f87d7438..0e0e7bb5fb8 100644
--- a/gcc/testsuite/gcc.c-torture/execute/string-opt-8.c
+++ b/gcc/testsuite/gcc.c-torture/execute/string-opt-8.c
@@ -231,7 +231,7 @@ int main ()
/* When optimizing, all the above cases should be transformed into
something else. So any remaining calls to the original function
should abort. */
-static char *
+static int
strncmp(const char *s1, const char *s2, size_t n)
{
abort();