1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/test/FrontendC++/2006-11-20-GlobalSymbols.cpp
Duncan Sands 31fddf4883 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.

llvm-svn: 120159
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;
}