YouCompleteMe/cpp/llvm/tools/clang/test/CodeGenCXX/2006-11-20-GlobalSymbols.cpp
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

12 lines
264 B
C++

// 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;
}