blob: 8f995df4f76e581fa5cc4e5d9a55cc4fbbbc66f9 [file] [log] [blame]
Jim Laskeye04bf542006-11-20 21:58:02 +00001// 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
7int foo __asm__("f\001oo");
8
9int bar() {
10 return foo;
11}