blob: c7935eda48c5603fab688ecd3e81b5ed3ed385ef [file] [log] [blame]
Amjad Aboud13d7a702016-03-13 11:12:57 +00001// RUN: %clang_cc1 -triple x86_64-unk-unk -o - -emit-llvm -debug-info-kind=limited %s | FileCheck %s
2
3namespace std { class A; }
4using std::A; using ::A;
5
David Blaikiea45c31a2016-08-24 18:29:58 +00006// CHECK: [[CompileUnit:![0-9]+]] = distinct !DICompileUnit({{.+}} imports: [[Imports:![0-9]+]]
Amjad Aboud13d7a702016-03-13 11:12:57 +00007// CHECK: [[Imports]] = !{[[ImportedEntity:![0-9]+]]}
Duncan P. N. Exon Smith383f8412016-04-23 21:08:27 +00008// CHECK: [[ImportedEntity]] = !DIImportedEntity(tag: DW_TAG_imported_declaration, scope: [[CompileUnit]], entity: [[STDA:![0-9]+]], line: 4)
9// CHECK: [[STDA]] = !DICompositeType(tag: DW_TAG_class_type, name: "A",