llvm-6502/test/DebugInfo/2006-11-20-GlobalSymbols.cpp
Reid Spencer 42e86fb1e6 For PR1319: Upgrade to new test harness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36092 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 22:37:04 +00:00

11 lines
220 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 -O0 -g -c %s
int foo __asm__("f\001oo");
int bar() {
return foo;
}