1 // To generate the corresponding EXE/PDB, run: 2 // cl /Zi test.cpp 3 4 namespace NS { 5 struct Foo { 6 void bar() {} 7 }; 8 } 9 10 void foo() { 11 } 12 13 int main() { 14 foo(); 15 16 NS::Foo f; 17 f.bar(); 18 } 19