mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
...rather than re-emitting the conformance in the current file, and then trying to cross-reference the decl context that owns the conformance, which may be an extension. rdar://problem/20383044 Swift SVN r26822
9 lines
595 B
Swift
9 lines
595 B
Swift
// RUN: rm -rf %t && mkdir %t
|
|
// RUN: %target-swift-frontend -emit-module -module-name Multi -o %t/multi-file-1.swiftmodule -primary-file %s %S/Inputs/conformance-multi-file-other.swift
|
|
// RUN: %target-swift-frontend -emit-module -module-name Multi -o %t/multi-file-2.swiftmodule %s -primary-file %S/Inputs/conformance-multi-file-other.swift
|
|
// RUN: %target-swift-frontend -emit-module -module-name Multi -o %t/Multi.swiftmodule %t/multi-file-*.swiftmodule
|
|
// RUN: echo "import Multi; (Sub() as BaseProto).method()" | %target-swift-frontend -I %t -parse -verify -
|
|
|
|
|
|
public class Sub : Base {}
|
|
|