diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:44:14 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:44:14 +0000 |
| commit | 2b6b257f4e5503a7a2675bdb8735693db769f75c (patch) | |
| tree | e85e046ae7003fe3bcc8b5454cd0fa3f7407b470 /test/CodeGen/debug-info-imported-entity.cpp | |
| parent | b4348ed0b7e90c0831b925fbee00b5f179a99796 (diff) | |
Notes
Diffstat (limited to 'test/CodeGen/debug-info-imported-entity.cpp')
| -rw-r--r-- | test/CodeGen/debug-info-imported-entity.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/debug-info-imported-entity.cpp b/test/CodeGen/debug-info-imported-entity.cpp new file mode 100644 index 000000000000..105cc3dc5371 --- /dev/null +++ b/test/CodeGen/debug-info-imported-entity.cpp @@ -0,0 +1,11 @@ +// 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; + + +// CHECK: [[CompileUnit:![0-9]+]] = distinct !DICompileUnit({{.+}} imports: [[Imports:![0-9]+]]) +// CHECK: [[Imports]] = !{[[ImportedEntity:![0-9]+]]} +// CHECK: [[ImportedEntity]] = !DIImportedEntity(tag: DW_TAG_imported_declaration, scope: [[CompileUnit]], entity: [[STDA:![0-9]+]], line: 4) +// CHECK: [[STDA]] = !DICompositeType(tag: DW_TAG_class_type, name: "A", + |
