xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/2006-11-20-GlobalSymbols.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1 // 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: f\01oo"
7 int foo __asm__("f\001oo");
8 
bar()9 int bar() {
10   return foo;
11 }
12