mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
f64edf8d80
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174711 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
269 B
C++
12 lines
269 B
C++
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>
|