mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
2645a6a4b9
Fixes a crash when deserializing recursive protocol conformances, rdar://problem/34681729.
5 lines
506 B
Swift
5 lines
506 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend -emit-module -module-name rpm -o %t/a.swiftmodule -primary-file %S/Inputs/recursive_protocol_merge_a.swift %S/Inputs/recursive_protocol_merge_b.swift
|
|
// RUN: %target-swift-frontend -emit-module -module-name rpm -o %t/b.swiftmodule %S/Inputs/recursive_protocol_merge_a.swift -primary-file %S/Inputs/recursive_protocol_merge_b.swift
|
|
// RUN: %target-swift-frontend -merge-modules -emit-module -o %t/rpm.swiftmodule %t/a.swiftmodule %t/b.swiftmodule
|