; RUN: not llvm-tapi-diff %S/Inputs/v4A.tbd %S/Inputs/v4D.tbd 2>&1 | FileCheck %s ; CHECK:< {{.*}}/Inputs/v4A.tbd ; CHECK:> {{.*}}/Inputs/v4D.tbd ; CHECK:Compatibility Version ; CHECK-NEXT:< 1.2 ; CHECK-NEXT:> 0 ; CHECK-NEXT:Two Level Namespace ; CHECK-NEXT:< false ; CHECK-NEXT:> true ; CHECK-NEXT:Reexported Libraries ; CHECK-NEXT: i386-apple-macos ; CHECK-NEXT: > Alpine.framework/Alpine ; CHECK-NEXT: > System.framework/System ; CHECK-NEXT: x86_64-apple-ios-simulator ; CHECK-NEXT: > Alpine.framework/Alpine ; CHECK-NEXT: > System.framework/System ; CHECK-NEXT:Allowable Clients ; CHECK-NEXT: x86_64-apple-macos ; CHECK-NEXT: < ClientA ; CHECK-NEXT: x86_64-apple-ios ; CHECK-NEXT: < ClientA ; CHECK-NEXT:Parent Umbrellas ; CHECK-NEXT: x86_64-apple-macos ; CHECK-NEXT: < System ; CHECK-NEXT: x86_64-apple-ios ; CHECK-NEXT: < System ; CHECK-NEXT: x86_64-apple-ios-simulator ; CHECK-NEXT: > System ; CHECK-NEXT:Symbols ; CHECK-NEXT: i386-apple-macos ; CHECK-NEXT: < _symC - Reexported ; CHECK-NEXT: < _symD - Undefined ; CHECK-NEXT: > .objc_class_name_Class1 ; CHECK-NEXT: > _symC - Weak-Defined ; CHECK-NEXT: x86_64-apple-macos ; CHECK-NEXT: < _symAB ; CHECK-NEXT: x86_64-apple-ios ; CHECK-NEXT: < _symB ; CHECK-NEXT: < _symAB ; CHECK-NEXT: x86_64-apple-ios-simulator ; CHECK-NEXT: > _symB ; CHECK-NEXT:Inlined Reexported Frameworks/Libraries ; CHECK-NEXT: Alpine.framework/Alpine ; CHECK-NEXT: Current Version ; CHECK-NEXT: > 1.2.3 ; CHECK-NEXT: Compatibility Version ; CHECK-NEXT: > 0 ; CHECK-NEXT: Swift ABI Version ; CHECK-NEXT: > 5 ; CHECK-NEXT: InstallAPI ; CHECK-NEXT: > false ; CHECK-NEXT: Two Level Namespace ; CHECK-NEXT: > true ; CHECK-NEXT: Application Extension Safe ; CHECK-NEXT: > true ; CHECK-NEXT: Allowable Clients ; CHECK-NEXT: i386-apple-macos ; CHECK-NEXT: > ClientD ; CHECK-NEXT: Parent Umbrellas ; CHECK-NEXT: i386-apple-macos ; CHECK-NEXT: > System ; CHECK-NEXT: x86_64-apple-ios-simulator ; CHECK-NEXT: > System ; CHECK-NEXT: Symbols ; CHECK-NEXT: i386-apple-macos ; CHECK-NEXT: > _symA ; CHECK-NEXT: > .objc_class_name_Class1 ; CHECK-NEXT: > _symC - Weak-Defined ; CHECK-NEXT: x86_64-apple-ios-simulator ; CHECK-NEXT: > _symB ; CHECK-NEXT: System.framework/System ; CHECK-NEXT: Current Version ; CHECK-NEXT: > 1.3.3 ; CHECK-NEXT: Compatibility Version ; CHECK-NEXT: > 1.2 ; CHECK-NEXT: Swift ABI Version ; CHECK-NEXT: > 3 ; CHECK-NEXT: InstallAPI ; CHECK-NEXT: > false ; CHECK-NEXT: Two Level Namespace ; CHECK-NEXT: > true ; CHECK-NEXT: Application Extension Safe ; CHECK-NEXT: > true ; CHECK-NEXT: Allowable Clients ; CHECK-NEXT: i386-apple-macos ; CHECK-NEXT: > ClientA ; CHECK-NEXT: x86_64-apple-ios ; CHECK-NEXT: > ClientA ; CHECK-NEXT: Parent Umbrellas ; CHECK-NEXT: i386-apple-macos ; CHECK-NEXT: > System ; CHECK-NEXT: x86_64-apple-ios ; CHECK-NEXT: > System ; CHECK-NEXT: Symbols ; CHECK-NEXT: i386-apple-macos ; CHECK-NEXT: > _symA ; CHECK-NEXT: > _symC - Reexported ; CHECK-NEXT: > _symD - Undefined ; CHECK-NEXT: x86_64-apple-ios ; CHECK-NEXT: > _symB ; CHECK-NEXT: > _symAB ; CHECK-NOT: error: ; CHECK-NOT: warning: