llvm-project/clang/test/CodeGen/2009-10-20-GlobalDebug.c

9 lines
250 B
C

// RUN: %clang -ccc-host-triple i386-apple-darwin10 -S -g -dA %s -o - | FileCheck %s
int global;
// CHECK: ascii "localstatic" ## DW_AT_name
// CHECK: asciz "global" ## External Name
int main() {
static int localstatic;
return 0;
}