summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/2009-10-20-GlobalDebug.c
blob: 42f020e39e8892ff15db494c757af34a59849f7d (plain)
1
2
3
4
5
6
7
8
9
// REQUIRES: x86-registered-target
// 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;
}
OpenPOWER on IntegriCloud