diff --git a/tools/post_compile/test.cpp b/tools/post_compile/test.cpp new file mode 100644 index 000000000000..e6c08c1e2ff9 --- /dev/null +++ b/tools/post_compile/test.cpp @@ -0,0 +1,17 @@ +static short gLook = 0; + +static int add( int a, int b) +{ + return a + b; +} + +long main( void ) +{ + long retVal = 0; + for (int i=0; i<100; i++) + { + retVal = add( retVal, i) + gLook; + } + + return retVal; +}