1 | // Build with cl: |
---|---|
2 | // cl.exe /Z7 pdb-diff.cpp /link /debug /pdb:pdb-diff-cl.pdb |
3 | // /nodefaultlib /entry:main |
4 | // Build with lld (after running the above cl command): |
5 | // lld-link.exe /debug /pdb:pdb-diff-lld.pdb /nodefaultlib |
6 | // /entry:main pdb-diff.obj |
7 | |
8 | void *__purecall = 0; |
9 | |
10 | int main() { return 42; } |
11 |