mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-22 13:05:52 -04:00

Summary: This was removed here rL366590 by accident. Reviewers: xiaobai, jfb Reviewed By: xiaobai Subscribers: dexonsmith, srhines, krytarowski, jfb, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D65123 llvm-svn: 366766
11 lines
177 B
C++
11 lines
177 B
C++
int function(int x) {
|
|
if ((x % 2) == 0)
|
|
return function(x-1) + x; // breakpoint 1
|
|
else
|
|
return x;
|
|
}
|
|
|
|
int main(int argc, char const *argv[]) {
|
|
return function(2);
|
|
}
|