test/testfiles_for_unittests/arm_exidx_test.cpp
raw| 1 | #include <string> |
| 2 | #include <iostream> |
| 3 | |
| 4 | void func1(int i); |
| 5 | |
| 6 | void func2(int i); |
| 7 | |
| 8 | void func1(int i) { |
| 9 | if (i == 0) |
| 10 | return; |
| 11 | func2(i - 1); |
| 12 | } |
| 13 | |
| 14 | void func2(int i) { |
| 15 | if (i == 0) |
| 16 | return; |
| 17 | func1(i - 1); |
| 18 | } |
| 19 | |
| 20 | int main(int argc, char **argv) { |
| 21 | std::string hello = "Hello from C++"; |
| 22 | std::cout << hello << std::endl; |
| 23 | } |