blob: fc896b330a4d5e4ec8eb573566bf43a064bee3a2 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001// 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
6int foo __asm__("f\001oo");
7
8int bar() {
9 return foo;
10}