blob: 74a7fb6422080aa8cefaefb100ac766d26a4ba2b [file] [log] [blame]
Eric Christopher3bf83102011-08-19 23:41:35 +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.
Douglas Katzman3459ce22015-10-08 04:24:12 +00004// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -o - %s | FileCheck %s
Eric Christopher3bf83102011-08-19 23:41:35 +00005
Eric Christopher19eb7352011-08-19 23:46:18 +00006// CHECK: f\01oo"
Eric Christopher3bf83102011-08-19 23:41:35 +00007int foo __asm__("f\001oo");
8
9int bar() {
10 return foo;
11}