projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa7633a
)
even simpler
author
Matthias Braun
<matze@braunis.de>
Wed, 4 Jun 2008 13:39:47 +0000
(13:39 +0000)
committer
Matthias Braun
<matze@braunis.de>
Wed, 4 Jun 2008 13:39:47 +0000
(13:39 +0000)
[r19976]
parsetest/cp_error033.c
patch
|
blob
|
history
diff --git
a/parsetest/cp_error033.c
b/parsetest/cp_error033.c
index
2b3062b
..
bec16d7
100644
(file)
--- a/
parsetest/cp_error033.c
+++ b/
parsetest/cp_error033.c
@@
-8,11
+8,10
@@
static struct A deduce_conversion(int from, int to)
return result;
}
-struct A globa[4];
-int x = 1;
+struct A *globa;
int main(int argc, char **argv)
{
-
globa[x]
= deduce_conversion(1, 2);
+
*globa
= deduce_conversion(1, 2);
return 0;
}