projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix kr2.c
[cparser]
/
parsetest
/
shouldfail
/
function_return.c
diff --git
a/parsetest/shouldfail/function_return.c
b/parsetest/shouldfail/function_return.c
index
adcde69
..
12b5c76
100644
(file)
--- a/
parsetest/shouldfail/function_return.c
+++ b/
parsetest/shouldfail/function_return.c
@@
-1,8
+1,12
@@
typedef int (function)(int);
typedef void broken_array[8];
typedef int (function)(int);
typedef void broken_array[8];
+typedef int int_array[8];
broken_array x;
broken_array x;
-function test(void);
+typedef function func2(void);
+
+func2 test;
broken_array test2(void);
broken_array test2(void);
+int_array test3(void);