You've already forked llvm-project
mirror of
https://github.com/encounter/llvm-project.git
synced 2026-03-30 11:27:19 -07:00
87aa9c9e4d
The original patch got reverted because it broke `check-lldb` on a clean build. This fixes that. llvm-svn: 374201
8 lines
143 B
C++
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';
|
|
}
|