This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git] / test / FrontendC++ / 2006-11-20-GlobalSymbols.cpp
blobc4afd32b66d28eac45f2c7a8f0e5402c8b46d462
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_only -O0 -g -c %s
6 int foo __asm__("f\001oo");
8 int bar() {
9 return foo;