projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- do not print a space at the end of qualifiers (needed for diagnostic)
[cparser]
/
parsetest
/
cp_error033.c
diff --git
a/parsetest/cp_error033.c
b/parsetest/cp_error033.c
index
a876535
..
093c28b
100644
(file)
--- a/
parsetest/cp_error033.c
+++ b/
parsetest/cp_error033.c
@@
-2,18
+2,17
@@
struct A {
int a, b;
};
int a, b;
};
-static struct A
-deduce_conversion(int from, int to)
+static struct A deduce_conversion(int from, int to)
{
struct A result = { 1, 2 };
return result;
}
{
struct A result = { 1, 2 };
return result;
}
-struct A globa
[4]
;
-
int x = 1
;
+struct A globa
_real
;
+
struct A *globa = &globa_real
;
int main(int argc, char **argv)
{
int main(int argc, char **argv)
{
-
globa[x]
= deduce_conversion(1, 2);
+
*globa
= deduce_conversion(1, 2);
return 0;
}
return 0;
}