Fix a case where ScalarEvolution was expanding pointer arithmetic
[oota-llvm.git] / test / FrontendC++ / 2006-11-20-GlobalSymbols.cpp
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
5
6 int foo __asm__("f\001oo");
7
8 int bar() {
9   return foo;
10 }