llvm-6502/test/FrontendC++/2006-11-20-GlobalSymbols.cpp
Duncan Sands a0c67bb1f9 Judging from the comment, the system assembler is supposed to assemble
the output of this test.  Since it was producing bitcode, that clearly
wasn't happening!  Have it produce target assembler and assemble that
instead.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120159 91177308-0d34-0410-b5e6-96231b3b80d8
2010-11-25 21:26:21 +00:00

11 lines
225 B
C++

// PR1013
// Check to make sure debug symbols use the correct name for globals and
// functions. Will not assemble if it fails to.
// RUN: %llvmgcc_only -O0 -g -c %s
int foo __asm__("f\001oo");
int bar() {
return foo;
}