mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-25 21:46:50 +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>
|