diff options
author | Felipe Torrezan <felipe.torrezan@iar.com> | 2023-10-21 16:36:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-10-23 19:59:40 (GMT) |
commit | 37e44707bcc82effccb9f59fdf7c39f66e03e75c (patch) | |
tree | 9bb1a5d97909fef2732012bba11928e1e5a116fb /Tests/RunCMake/IAR/module.cxx | |
parent | aab0d6bc4f353bbad7c1cc6f336fbaf611c1fe7c (diff) | |
download | CMake-37e44707bcc82effccb9f59fdf7c39f66e03e75c.zip CMake-37e44707bcc82effccb9f59fdf7c39f66e03e75c.tar.gz CMake-37e44707bcc82effccb9f59fdf7c39f66e03e75c.tar.bz2 |
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.
Diffstat (limited to 'Tests/RunCMake/IAR/module.cxx')
-rw-r--r-- | Tests/RunCMake/IAR/module.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/IAR/module.cxx b/Tests/RunCMake/IAR/module.cxx new file mode 100644 index 0000000..5604435 --- /dev/null +++ b/Tests/RunCMake/IAR/module.cxx @@ -0,0 +1,7 @@ +#include "module.h" +__root int i; +__root int main() +{ + i = INTERNAL; + return i; +} |