From: Adrian Prantl Date: Fri, 15 Apr 2016 16:21:23 +0000 (+0000) Subject: Fix testcase for MSVC targets where the output ordering is different. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2785c796d94f1b17157cf4fa9f6f7eda10efc9f6;p=clang Fix testcase for MSVC targets where the output ordering is different. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266449 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/debug-info-limited.cpp b/test/CodeGenCXX/debug-info-limited.cpp index b209e3a850..4467d20f3d 100644 --- a/test/CodeGenCXX/debug-info-limited.cpp +++ b/test/CodeGenCXX/debug-info-limited.cpp @@ -1,4 +1,5 @@ // RUN: %clang -flimit-debug-info -emit-llvm -g -S %s -o - | FileCheck %s +// RUN: %clang -flimit-debug-info -emit-llvm -g -S %s -o - | FileCheck --check-prefix=CHECK-C %s // CHECK: !DICompositeType(tag: DW_TAG_class_type, name: "A" // CHECK-NOT: DIFlagFwdDecl @@ -27,8 +28,8 @@ int baz(B *b) { } -// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "C" -// CHECK-SAME: flags: DIFlagFwdDecl +// CHECK-C: !DICompositeType(tag: DW_TAG_structure_type, name: "C" +// CHECK-C-SAME: flags: DIFlagFwdDecl struct C { };