r263380 - Added test that covers changes in r263379.

Amjad Aboud via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 13 04:12:58 PDT 2016


Author: aaboud
Date: Sun Mar 13 06:12:57 2016
New Revision: 263380

URL: http://llvm.org/viewvc/llvm-project?rev=263380&view=rev
Log:
Added test that covers changes in r263379.

Added:
    cfe/trunk/test/CodeGen/debug-info-imported-entity.cpp

Added: cfe/trunk/test/CodeGen/debug-info-imported-entity.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/debug-info-imported-entity.cpp?rev=263380&view=auto
==============================================================================
--- cfe/trunk/test/CodeGen/debug-info-imported-entity.cpp (added)
+++ cfe/trunk/test/CodeGen/debug-info-imported-entity.cpp Sun Mar 13 06:12:57 2016
@@ -0,0 +1,10 @@
+// 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: !"_ZTSSt1A", line: 4)
+




More information about the cfe-commits mailing list