diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:50:09 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:50:09 +0000 |
commit | f3fbd1c0586ff6ec7895991e6c28f61a503c36a8 (patch) | |
tree | 48d008fd3df8c0e73271a4b18474e0aac6dbfe33 /unittests/SymbolFile/PDB/Inputs/test-pdb-alt.cpp | |
parent | 2fc5d2d1dfaf623ce4e24cd8590565902f8c557c (diff) |
Notes
Diffstat (limited to 'unittests/SymbolFile/PDB/Inputs/test-pdb-alt.cpp')
-rw-r--r-- | unittests/SymbolFile/PDB/Inputs/test-pdb-alt.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/unittests/SymbolFile/PDB/Inputs/test-pdb-alt.cpp b/unittests/SymbolFile/PDB/Inputs/test-pdb-alt.cpp new file mode 100644 index 000000000000..d36f15e53fb7 --- /dev/null +++ b/unittests/SymbolFile/PDB/Inputs/test-pdb-alt.cpp @@ -0,0 +1,9 @@ +// Compile with "cl /c /Zi /GR- test-pdb-alt.cpp" +// Link with "link test-pdb.obj test-pdb-alt.obj /debug /nodefaultlib /entry:main /out:test-pdb.exe" + +#include "test-pdb.h" + +int bar(int n) +{ + return n-1; +} |