2011-06-04 02:36:30 +08:00
|
|
|
// REQUIRES: x86-registered-target
|
2009-12-16 06:01:24 +08:00
|
|
|
// RUN: %clang -ccc-host-triple i386-apple-darwin10 -S -g -dA %s -o - | FileCheck %s
|
2009-10-21 02:26:30 +08:00
|
|
|
int global;
|
2010-08-10 09:36:24 +08:00
|
|
|
// CHECK: ascii "localstatic" ## DW_AT_name
|
2010-04-30 01:48:37 +08:00
|
|
|
// CHECK: asciz "global" ## External Name
|
|
|
|
int main() {
|
|
|
|
static int localstatic;
|
|
|
|
return 0;
|
|
|
|
}
|