blob: b3d422d43dfe915cc6c51a218070caf8a6c82a63 (
plain)
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
|
/** addrspace.c
*/
#include <testfwk.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)
{
}
|