diff options
Diffstat (limited to 'test/DebugInfo/Inputs/macho-universal.cc')
-rw-r--r-- | test/DebugInfo/Inputs/macho-universal.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/DebugInfo/Inputs/macho-universal.cc b/test/DebugInfo/Inputs/macho-universal.cc new file mode 100644 index 0000000..9f34fdb --- /dev/null +++ b/test/DebugInfo/Inputs/macho-universal.cc @@ -0,0 +1,10 @@ +// Built with Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn) +// clang++ -arch x86_64 -arch i386 macho-universal.cc + +int inc(int x) { + return x + 1; +} + +int main(int argc, char *argv[]) { + return inc(argc); +} |