mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Previously we were linking in all SIL entities if the input was a serialized non-SIB AST, and `-disable-sil-linking` wasn't specified. However none of the tests appear to want this behaviour. Stop calling `SerializedSILLoader::getAll`, and remove the `-disable-sil-linking` option, as this is now the default behaviour.
13 lines
345 B
Swift
13 lines
345 B
Swift
// RUN: %target-swift-frontend %s -module-name Test -emit-module -emit-module-path - -o /dev/null | %target-sil-opt -enable-sil-verify-all -module-name="Test" | %FileCheck %s
|
|
|
|
// Check that default witness tables are properly deserialized.
|
|
// rdar://problem/29173229
|
|
|
|
// CHECK: import Swift
|
|
public class MyType {
|
|
}
|
|
|
|
public protocol MyProto {
|
|
}
|
|
|