1*f4a2713aSLionel Sambuc // PR1013 2*f4a2713aSLionel Sambuc // Check to make sure debug symbols use the correct name for globals and 3*f4a2713aSLionel Sambuc // functions. Will not assemble if it fails to. 4*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm -g -o - %s | FileCheck %s 5*f4a2713aSLionel Sambuc 6*f4a2713aSLionel Sambuc // CHECK: f\01oo" 7*f4a2713aSLionel Sambuc int foo __asm__("f\001oo"); 8*f4a2713aSLionel Sambuc bar()9*f4a2713aSLionel Sambucint bar() { 10*f4a2713aSLionel Sambuc return foo; 11*f4a2713aSLionel Sambuc } 12