2016-03-13 19:12:57 +08:00
|
|
|
// RUN: %clang_cc1 -triple x86_64-unk-unk -o - -emit-llvm -debug-info-kind=limited %s | FileCheck %s
|
|
|
|
|
|
|
|
namespace std { class A; }
|
|
|
|
using std::A; using ::A;
|
|
|
|
|
2016-08-25 02:29:58 +08:00
|
|
|
// CHECK: [[CompileUnit:![0-9]+]] = distinct !DICompileUnit({{.+}} imports: [[Imports:![0-9]+]]
|
2016-03-13 19:12:57 +08:00
|
|
|
// CHECK: [[Imports]] = !{[[ImportedEntity:![0-9]+]]}
|
2017-07-19 08:09:58 +08:00
|
|
|
// CHECK: [[ImportedEntity]] = !DIImportedEntity(tag: DW_TAG_imported_declaration, scope: [[CompileUnit]], entity: [[STDA:![0-9]+]], file: [[FILE:![0-9]+]], line: 4)
|
2016-04-24 05:08:27 +08:00
|
|
|
// CHECK: [[STDA]] = !DICompositeType(tag: DW_TAG_class_type, name: "A",
|
2017-07-19 08:09:58 +08:00
|
|
|
// CHECK: [[FILE]] = !DIFile(filename: {{.*}}debug-info-imported-entity.cpp
|