From 5e20cdd81c44a443562a09007668ffdf76c455af Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Wed, 27 May 2015 18:47:56 +0000 Subject: Vendor import of clang trunk r238337: https://llvm.org/svn/llvm-project/cfe/trunk@238337 --- test/CodeGenCXX/debug-info-limited.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'test/CodeGenCXX/debug-info-limited.cpp') diff --git a/test/CodeGenCXX/debug-info-limited.cpp b/test/CodeGenCXX/debug-info-limited.cpp index 294d1f6b6d205..d56e5b670a16a 100644 --- a/test/CodeGenCXX/debug-info-limited.cpp +++ b/test/CodeGenCXX/debug-info-limited.cpp @@ -1,6 +1,8 @@ // RUN: %clang -flimit-debug-info -emit-llvm -g -S %s -o - | FileCheck %s -// CHECK: ; [ DW_TAG_class_type ] [A] {{.*}} [def] +// CHECK: !DICompositeType(tag: DW_TAG_class_type, name: "A" +// CHECK-NOT: DIFlagFwdDecl +// CHECK-SAME: ){{$}} class A { public: int z; @@ -11,7 +13,9 @@ A *foo (A* x) { return a; } -// CHECK: ; [ DW_TAG_class_type ] [B] {{.*}} [def] +// CHECK: !DICompositeType(tag: DW_TAG_class_type, name: "B" +// CHECK-NOT: DIFlagFwdDecl +// CHECK-SAME: ){{$}} class B { public: @@ -24,7 +28,8 @@ int baz(B *b) { } -// CHECK: ; [ DW_TAG_structure_type ] [C] {{.*}} [decl] +// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "C" +// CHECK-SAME: flags: DIFlagFwdDecl struct C { }; -- cgit v1.3