Search
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Eigen Compiler Suite
All Projects
Eigen Compiler Suite
Overview
Activity
Roadmap
Issues
News
Forums
Files
Download (350 Bytes)
Equality of type section
» array-param.c
Rochus Keller
, 05 July 2024 18:19
int
printf
(
const
char
*
s
,
...);
struct
obj
{
char
val
[
8
];
int
len
;
};
struct
obj
func
(
struct
obj
in
)
{
struct
obj
out
=
{{
1
,
2
,
3
},
3
};
printf
(
"%d, %d, %d (%d)
\n
"
,
in
.
val
[
0
],
in
.
val
[
1
],
in
.
val
[
7
],
in
.
len
);
return
out
;
}
int
main
(
void
)
{
struct
obj
foo
=
{{
5
,
7
,
32
,
1
,
4
,
1
,
1
,
4
},
13
};
foo
=
func
(
foo
);
func
(
foo
);
return
sizeof
(
foo
);
}
« Previous
1
2
3
Next »
(1-1/3)
Loading...