Files
CMake/Tests/RunCMake/IAR/module.c
Felipe Torrezan 37e44707bc IAR: Add tests covering IAR toolchains
Run the tests only if enabled explicitly by an undocumented cache
entry.  We will enable it on hosts known to have the toolchains.
2023-10-23 15:59:40 -04:00

15 lines
201 B
C

#include "module.h"
#if defined(__USE_LIBFUN)
extern int iar_libfun();
#endif
__root int i;
__root int main()
{
#if defined(__USE_LIBFUN)
i = iar_libfun();
#else
i = INTERNAL;
#endif
return i;
}