llvm-project/lldb/lit/Process/Inputs/env.cpp

8 lines
143 B
C++

#include <cstdlib>
#include <iostream>
int main() {
if (const char *env_p = std::getenv("FOO"))
std::cout << "FOO=" << env_p << '\n';
}