2020-06-02 06:53:06 +00:00
|
|
|
__attribute__((import_module("mA")))
|
2021-12-29 03:04:36 +00:00
|
|
|
__attribute__((import_name("A1"))) extern int
|
|
|
|
A1();
|
2020-06-02 06:53:06 +00:00
|
|
|
|
2021-12-29 03:04:36 +00:00
|
|
|
__attribute__((export_name("B1"))) int
|
|
|
|
B1()
|
2020-06-02 06:53:06 +00:00
|
|
|
{
|
2021-12-29 03:04:36 +00:00
|
|
|
return 21;
|
|
|
|
}
|
|
|
|
|
|
|
|
__attribute__((export_name("B2"))) int
|
|
|
|
B2()
|
|
|
|
{
|
|
|
|
return A1();
|
2020-06-02 06:53:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
int
|
2021-12-29 03:04:36 +00:00
|
|
|
B3()
|
2020-06-02 06:53:06 +00:00
|
|
|
{
|
2021-12-29 03:04:36 +00:00
|
|
|
return 23;
|
2020-06-02 06:53:06 +00:00
|
|
|
}
|
2021-12-29 03:04:36 +00:00
|
|
|
|
|
|
|
/* mA is a reactor. it doesn't need a main() */
|