blob: c4afd32b66d28eac45f2c7a8f0e5402c8b46d462 [file] [log] [blame]
Reid Spencerb964f002007-04-15 22:37:04 +00001// PR1013
Jim Laskeyefcaa4a2006-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.
Duncan Sands0be0ae62010-11-25 21:26:21 +00004// RUN: %llvmgcc_only -O0 -g -c %s
Jim Laskeyefcaa4a2006-11-20 21:58:02 +00005
Jim Laskeyefcaa4a2006-11-20 21:58:02 +00006int foo __asm__("f\001oo");
7
8int bar() {
9 return foo;
10}