CMake/Tests/RunCMake/Diab/module.c
Sanjiv Gupta 7624d0110b Diab: Add tests covering the Diab toolchains
Run the tests only if enabled explicitly by an undocumented cache
entry.  We will enable it on hosts known to have the toolchains.

Closes: #26735
2025-03-18 13:18:55 -04:00

16 lines
190 B
C

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