Fixed some bugs.
[llvm/zpu.git] / test / FrontendC++ / 2006-11-20-GlobalSymbols.cpp
blobfc896b330a4d5e4ec8eb573566bf43a064bee3a2
1 // PR1013
2 // Check to make sure debug symbols use the correct name for globals and
3 // functions. Will not assemble if it fails to.
4 // RUN: %llvmgcc -O0 -g -c %s
6 int foo __asm__("f\001oo");
8 int bar() {
9 return foo;