projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- implemented GNU ?: operator (no ast2firm support yet
[cparser]
/
parsetest
/
cp_error030.c
diff --git
a/parsetest/cp_error030.c
b/parsetest/cp_error030.c
index
eed6dd7
..
26cac0e
100644
(file)
--- 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);
}
return test(a,b);
}
-int test2(int a, int b) {
+
static
int test2(int a, int b) {
int arr[2];
arr[0] = a;
int arr[2];
arr[0] = a;
@@
-15,3
+15,8
@@
int test2(int a, int b) {
adr(arr);
return arr[0] + arr[1];
}
adr(arr);
return arr[0] + arr[1];
}
+
+int main(void)
+{
+ return 0;
+}