// BEGIN mycpp output #include "mycpp/runtime.h" GLOBAL_STR(str0, "%d // 3 = %d"); GLOBAL_STR(str1, ""); GLOBAL_STR(str2, "%d // 3 = %d"); namespace test_arith_ops { // forward declare } // forward declare namespace test_arith_ops namespace test_arith_ops { // declare void run_tests(); void run_benchmarks(); } // declare namespace test_arith_ops namespace test_arith_ops { // define void run_tests() { for (int i = 0; i < 8; ++i) { mylib::print_stderr(StrFormat("%d // 3 = %d", i, (i / 3))); } mylib::print_stderr(str1); } void run_benchmarks() { ; // pass } } // define namespace test_arith_ops