2010-11-16 18:26:08 +08:00
|
|
|
// RUN: echo "#include <stddef.h>" > %t.h
|
2015-10-08 12:24:12 +08:00
|
|
|
// RUN: %clang_cc1 -S -debug-info-kind=limited -include %t.h %s -emit-llvm -o - | FileCheck %s
|
2014-10-04 04:01:52 +08:00
|
|
|
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: !DIGlobalVariable(name: "outer",
|
2015-03-04 01:25:55 +08:00
|
|
|
// CHECK-NOT: linkageName:
|
|
|
|
// CHECK-SAME: line: [[@LINE+2]]
|
|
|
|
// CHECK-SAME: isDefinition: true
|
2009-04-21 03:07:55 +08:00
|
|
|
int outer = 42;
|
2014-10-04 04:01:52 +08:00
|
|
|
|