mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
I am doing this separately from the actual change to eliminate the option to make it easier to review.
15 lines
438 B
Swift
15 lines
438 B
Swift
// RUN: %target-swift-frontend -emit-ir -primary-file %s %S/Inputs/conformance_multifile_1.swift | %FileCheck %s
|
|
|
|
func g<U>(_ f : (E) throws -> (U)) {}
|
|
|
|
// The extension E: P should not show up in this filel.
|
|
// CHECK-NOT: $s21conformance_multifile1EOAA1PAAMc
|
|
|
|
// CHECK: $s21conformance_multifile1tyyF
|
|
func t() {
|
|
g(E2.Filter)
|
|
}
|
|
|
|
// The extension E: P should not show up in this filel.
|
|
// CHECK-NOT: $s21conformance_multifile1EOAA1PAAMc
|