X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=parsetest%2Fcp_error030.c;h=26cac0e0329bbd4314c22ab3b7e0973dcfdc97aa;hb=003c9506db3d8db7060f7d651d056220f992b543;hp=eed6dd7690bbed4efd85f19b6fcdffeb617acf4e;hpb=075482ab9eba487afd050f3e8bc278d638f81914;p=cparser diff --git a/parsetest/cp_error030.c b/parsetest/cp_error030.c index eed6dd7..26cac0e 100644 --- a/parsetest/cp_error030.c +++ b/parsetest/cp_error030.c @@ -1,12 +1,12 @@ -int test(int a, int b); +static int test(int a, int b); -int adr(int *x); +static int adr(int *x); -int test1(int a, int b) { +static int test1(int a, int b) { return test(a,b); } -int test2(int a, int b) { +static int test2(int a, int b) { int arr[2]; arr[0] = a; @@ -15,3 +15,8 @@ int test2(int a, int b) { adr(arr); return arr[0] + arr[1]; } + +int main(void) +{ + return 0; +}