blob: fc896b330a4d5e4ec8eb573566bf43a064bee3a2 [file] [log] [blame]
Reid Spencer42e86fb2007-04-15 22:37:04 +00001// PR1013
Jim Laskeye04bf542006-11-20 21:58:02 +00002// 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
Jim Laskeye04bf542006-11-20 21:58:02 +00006int foo __asm__("f\001oo");
7
8int bar() {
9 return foo;
10}