1#ifdef EXTRA_FUNCTION
2int foo(int i) {
3 return i*3;
4}
5#endif
6
7int main (int argc, char const *argv[]) {
8#ifdef EXTRA_FUNCTION
9 return foo(argc);
10#else
11 return 0;
12#endif
13}
14

Provided by KDAB

Privacy Policy
Update your C++ knowledge – Modern C++11/14/17 Training
Find out more

source code of lldb/test/API/functionalities/module_cache/simple_exe/main.c