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-Tag: llvmorg-3.9.0-rc1~8975 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=19124d3d7e01fd0f88e4884e92f757f3801a1e86;p=platform%2Fupstream%2Fllvm.git Fix testcase for MSVC targets where the output ordering is different. llvm-svn: 266449 --- diff --git a/clang/test/CodeGenCXX/debug-info-limited.cpp b/clang/test/CodeGenCXX/debug-info-limited.cpp index b209e3a..4467d20 100644 --- a/clang/test/CodeGenCXX/debug-info-limited.cpp +++ b/clang/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 { };