blob: dfca59dc9612fa0ecef5d2de394e9b80574917c5 [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.
4// RUN: %clang_cc1 -emit-llvm -g -o - %s | FileCheck %s
5
6// CHECK: @"\01f\01oo"
7int foo __asm__("f\001oo");
8
9int bar() {
10 return foo;
11}