test.cpp 184 B

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