bolt/deps/llvm-18.1.8/llvm/test/tools/llvm-pdbutil/Inputs/UsingNamespaceTest.cpp

12 lines
249 B
C++
Raw Normal View History

2025-02-14 19:21:04 +01:00
// Compile with "cl /c /Zi /GR- UsingNamespaceTest.cpp"
// Link with "link UsingNamespaceTest.obj /debug /nodefaultlib /entry:main"
namespace NS {
int foo() { return 1; }
}
using namespace NS;
int main(int argc, char **argv) {
return foo();
}