- test_breakpoint_callback -- filed llvm.org/pr-16000 - test_listener_resume -- resume a process from a thread waiting on SBListener - test_listener_event_description -- SBEvent description from SBListener thread - test_listener_event_process -- query process/thread/stack info from SBListener thread llvm-svn: 181819
18 lines
206 B
C++
18 lines
206 B
C++
|
|
#include <iostream>
|
|
|
|
using namespace std;
|
|
|
|
int next() {
|
|
static int i = 0;
|
|
cout << "incrementing " << i << endl;
|
|
return ++i;
|
|
}
|
|
|
|
int main() {
|
|
int i = 0;
|
|
while (i < 5)
|
|
i = next();
|
|
return 0;
|
|
}
|