1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-01-26 07:34:06 +00:00
llvm-6502/test/DebugInfo/Inputs/dwarfdump-test2-main.cc

12 lines
269 B
C++
Raw Normal View History

extern "C" int a();
int main() {
return a();
}
// Built with gcc 4.6.3
// $ mkdir -p /tmp/dbginfo
// $ cp dwarfdump-test2-helper.cc dwarfdump-test2-main.cc /tmp/dbginfo/
// $ cd /tmp/dbginfo
// $ g++ -g dwarfdump-test2-helper.cc dwarfdump-test2-main.cc -o <output>