1 // To generate the corresponding EXE/PDB, run: 2 // cl /Zi test.cpp 3 4 namespace NS { 5 struct Foo { barNS::Foo6 void bar() {} 7 }; 8 } 9 foo()10void foo() { 11 } 12 private_symbol()13static void private_symbol() { 14 } 15 main()16int main() { 17 foo(); 18 19 NS::Foo f; 20 f.bar(); 21 private_symbol(); 22 } 23 24 extern "C" { foo_cdecl()25void __cdecl foo_cdecl() {} foo_stdcall()26void __stdcall foo_stdcall() {} foo_fastcall()27void __fastcall foo_fastcall() {} foo_vectorcall()28void __vectorcall foo_vectorcall() {} 29 } 30