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