From d45be78f846e88345ce89e93fcb7521ec2e7f09b Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Fri, 11 Sep 2015 18:54:34 +0000 Subject: [PATCH] Fix a typo and make this test stricter. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@247449 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Modules/ExtDebugInfo.m | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/Modules/ExtDebugInfo.m b/test/Modules/ExtDebugInfo.m index 6431a88677..29ce29434a 100644 --- a/test/Modules/ExtDebugInfo.m +++ b/test/Modules/ExtDebugInfo.m @@ -1,5 +1,5 @@ // RUN: rm -rf %t -// Test that only forward declarations are emitted for types dfined in modules. +// Test that only forward declarations are emitted for types defined in modules. // Modules: // RUN: %clang_cc1 -x objective-c -g -dwarf-ext-refs -fmodules \ @@ -23,7 +23,10 @@ int foo(ObjCClass *c) { return [c property]; } -// CHECK: !DICompositeType(tag: DW_TAG_structure_type, +// CHECK-NOT: !DICompositeType(tag: DW_TAG_structure_type, +// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "ObjCClass", // CHECK-SAME: scope: ![[MOD:[0-9]+]], // CHECK-SAME: flags: DIFlagFwdDecl) +// CHECK-NOT: !DICompositeType(tag: DW_TAG_structure_type, // CHECK: ![[MOD]] = !DIModule(scope: null, name: {{.*}}DebugObjC +// CHECK-NOT: !DICompositeType(tag: DW_TAG_structure_type, -- 2.40.0