Correction declaration de main

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2418 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 1999-10-14 13:36:30 +00:00
parent 7e8cc67d98
commit 2479a31f12
2 changed files with 4 additions and 2 deletions

View File

@ -12,7 +12,8 @@
/* $Id$ */
char foo[]="\377";
main(void)
int main(int argc, char ** argv)
{
int i;
i = foo[0];

View File

@ -12,7 +12,8 @@
/* $Id$ */
signed char foo[]="\377";
main(void)
int main(int argc, char ** argv)
{
int i;
i = foo[0];