25 lines · cpp
1#include <iostream>2 3// Multiple functions to test selective dumping4int add(int a, int b) { return a + b; }5 6int multiply(int a, int b) { return a * b; }7 8int main_helper() {9 std::cout << "Helper function" << std::endl;10 return 42;11}12 13int main_secondary() { return add(5, 3); }14 15void other_function() { std::cout << "Other function" << std::endl; }16 17int main() {18 int result = add(10, 20);19 result = multiply(result, 2);20 main_helper();21 main_secondary();22 other_function();23 return result;24}25