projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
really fix cp_error035
[cparser]
/
parsetest
/
localfuncdecl.c
diff --git
a/parsetest/localfuncdecl.c
b/parsetest/localfuncdecl.c
index
c808c91
..
0ad0380
100644
(file)
--- a/
parsetest/localfuncdecl.c
+++ b/
parsetest/localfuncdecl.c
@@
-2,9
+2,15
@@
int puts(const char *msg);
int k(const char *msg) {
puts(msg);
int k(const char *msg) {
puts(msg);
- return 42;
+ double gl = 12;
+ {
+ extern int gl;
+ return gl;
+ }
}
}
+int gl = 42;
+
int main(void)
{
double k = 12;
int main(void)
{
double k = 12;