blob: dea03b03952eb95dd0c8497d52141d6de1ee8dbc [file] [log] [blame]
// RUN: %empty-directory(%t)
// RUN: %target-build-swift %S/Inputs/vtable_symbol_linkage_base.swift -emit-module -emit-module-path=%t/BaseModule.swiftmodule -emit-library -module-name BaseModule -o %t/%target-library-name(BaseModule)
// RUN: %target-build-swift -I %t %s -o %t/a.out -L%t -lBaseModule
// RUN: %target-build-swift %S/Inputs/vtable_symbol_linkage_base.swift -emit-module -emit-module-path=%t/BaseModule.swiftmodule -emit-library -module-name BaseModule -o %t/%target-library-name(BaseModule) -Xfrontend -enable-resilience -Xfrontend -enable-class-resilience
// RUN: %target-build-swift -I %t %s -o %t/a.out -Xfrontend -enable-class-resilience -L%t -lBaseModule
// Check if the program can be linked without undefined symbol errors.
import BaseModule
public class Derived : Base {
}
public class DerivedNested : Namespace.Nested {}
public class DerivedExtNested : Namespace.ExtNested {}