Fix testcase for MSVC targets where the output ordering is different.

llvm-svn: 266449
This commit is contained in:
Adrian Prantl 2016-04-15 16:21:23 +00:00
parent a6a4ab3b69
commit 19124d3d7e
1 changed files with 3 additions and 2 deletions

View File

@ -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 {
};