1 // Compile with "cl /c /Zi /GR- test-pdb.cpp" 2 // Link with "link test-pdb.obj /debug /nodefaultlib /entry:main /out:test-pdb.exe" 3 4 #include "test-pdb.h" 5 6 int __cdecl _purecall(void) 7 { 8 return 0; 9 } 10 11 int 12 main(int argc, char **argv) 13 { 14 return foo(argc) + bar(argc); 15 } 16