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;
}