You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
// 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();
|
|
}
|