Shafik Yaghmour 9bd72b5c25 [LLDB] Remove cases of using namespace std
We had using namespace std; sprinkled around several source files and tests.

Differential Revision: https://reviews.llvm.org/D120966
2022-03-04 12:50:25 -08:00

18 lines
196 B
C++

#include <iostream>
int next() {
static int i = 0;
std::cout << "incrementing " << i << std::endl;
return ++i;
}
int main() {
int i = 0;
while (i < 5)
i = next();
return 0;
}