Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
gcc.target
/
arc
/
cmem-ld.inc
blob: 7b51bb39a1749cfcb779d1cd8cbec2a1b1293dd0 [
file
] [
log
] [
blame
]
struct
foo_type
{
unsigned
int
a
;
unsigned
short
b
;
unsigned
char
c
;
};
struct
foo_type foo __attribute__
((
section
(
".cmem"
)));
unsigned
int
f
()
{
unsigned
int
tmp
=
foo
.
a
+
foo
.
b
+
foo
.
c
;
return
tmp
;
}