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