summaryrefslogtreecommitdiff
path: root/tmk_core/tool/mbed/mbed-sdk/libraries/tests/benchmarks/cenv/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/tool/mbed/mbed-sdk/libraries/tests/benchmarks/cenv/main.cpp')
-rw-r--r--tmk_core/tool/mbed/mbed-sdk/libraries/tests/benchmarks/cenv/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tmk_core/tool/mbed/mbed-sdk/libraries/tests/benchmarks/cenv/main.cpp b/tmk_core/tool/mbed/mbed-sdk/libraries/tests/benchmarks/cenv/main.cpp
new file mode 100644
index 0000000000..293cf4366d
--- /dev/null
+++ b/tmk_core/tool/mbed/mbed-sdk/libraries/tests/benchmarks/cenv/main.cpp
@@ -0,0 +1,8 @@
+#include "mbed.h"
+
+volatile int x, y, z;
+int main() {
+ while(1) {
+ z = x * y;
+ }
+}