1 | // Compile with "cl /c /Zi /GR- test-pdb-alt.cpp" |
---|---|
2 | // Link with "link test-pdb.obj test-pdb-alt.obj /debug /nodefaultlib |
3 | // /entry:main /out:test-pdb.exe" |
4 | |
5 | #include "test-pdb.h" |
6 | |
7 | int bar(int n) { return n - 1; } |
8 |
1 | // Compile with "cl /c /Zi /GR- test-pdb-alt.cpp" |
---|---|
2 | // Link with "link test-pdb.obj test-pdb-alt.obj /debug /nodefaultlib |
3 | // /entry:main /out:test-pdb.exe" |
4 | |
5 | #include "test-pdb.h" |
6 | |
7 | int bar(int n) { return n - 1; } |
8 |