mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 06:06:07 +00:00

<rdar://problem/33357889> https://bugs.llvm.org/show_bug.cgi?id=33822 Differential Revision: https://reviews.llvm.org/D35583 llvm-svn: 308399
11 lines
620 B
C++
11 lines
620 B
C++
// 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]+]], file: [[FILE:![0-9]+]], line: 4)
|
|
// CHECK: [[STDA]] = !DICompositeType(tag: DW_TAG_class_type, name: "A",
|
|
// CHECK: [[FILE]] = !DIFile(filename: {{.*}}debug-info-imported-entity.cpp
|