// PR1013
// Check to make sure debug symbols use the correct name for globals and
// functions.  Will not assemble if it fails to.
// RUN: %clang_cc1 -emit-llvm -g -o - %s | FileCheck %s

// CHECK: f\01oo"
int foo __asm__("f\001oo");

int bar() {
  return foo;
}

// PR1013
// Check to make sure debug symbols use the correct name for globals and
// functions.  Will not assemble if it fails to.
// RUN: %clang_cc1 -emit-llvm -g -o - %s | FileCheck %s

// CHECK: @"\01f\01oo"
int foo __asm__("f\001oo");

int bar() {
  return foo;
}

--- 
+++ 
@@ -3,7 +3,7 @@
 // functions.  Will not assemble if it fails to.
 // RUN: %clang_cc1 -emit-llvm -g -o - %s | FileCheck %s
 
-// CHECK: @"\01f\01oo"
+// CHECK: f\01oo"
 int foo __asm__("f\001oo");
 
 int bar() {
Modify the check line to be happier on windows.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@138152 91177308-0d34-0410-b5e6-96231b3b80d8
