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