blob: cede7f9eda35753722c40da7bceb0f87505f413a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/** addrsapce.c
*/
#include <testfwk.h>
#include <stdlib.h>
void set_a(void)
{
}
void set_b(void)
{
}
#if !defined(PORT_HOST)
__addressmod set_a space_a;
__addressmod set_b const space_b;
#endif
/* We don't really test for named address spaces working here,
since that would require support in the simulators, and would
make the test target-specific.
But we can test that things that should compile compile, and that
the named address spaces don't break other things.
*/
void testSpace(void)
{
}
|