mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
I did this using a sed pattern and verified by hand that I was only touching target-swift-emit-silgen lines.
13 lines
688 B
Swift
13 lines
688 B
Swift
// RUN: %target-swift-emit-silgen -primary-file %s %S/Inputs/inherited_protocol_conformance_other_file.swift -module-name main | %FileCheck %s --check-prefix=THIS_FILE
|
|
// RUN: %target-swift-emit-silgen %s -primary-file %S/Inputs/inherited_protocol_conformance_other_file.swift -module-name main | %FileCheck %s --check-prefix=OTHER_FILE
|
|
|
|
// THIS_FILE-NOT: sil_witness_table {{.*}} B: P
|
|
// THIS_FILE-LABEL: sil_witness_table hidden D: R module main
|
|
// THIS_FILE-NOT: sil_witness_table {{.*}} B: P
|
|
// THIS_FILE-LABEL: sil_witness_table hidden D: Q module main
|
|
// THIS_FILE-NOT: sil_witness_table {{.*}} B: P
|
|
|
|
// OTHER_FILE-LABEL: sil_witness_table hidden B: P module main
|
|
|
|
class D: B, R {}
|