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 
20 extern "C" {
21 void __cdecl foo_cdecl() {}
22 void __stdcall foo_stdcall() {}
23 void __fastcall foo_fastcall() {}
24 void __vectorcall foo_vectorcall() {}
25 }
26