blob: 2ef60df75b9fb3b87d05969d4e8c40e457712d7b [file] [log] [blame]
// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -emit-module-path %t/Mod.swiftmodule -module-name Mod %s
// RUN: %target-swift-frontend -typecheck -verify -I %t %S/Inputs/inheritance_protocol_multi_module_2.swift
/* module Mod */
public protocol MyProtocol {}
open class ClassLevel1: MyProtocol {
public init() {}
}
open class ClassLevel2: ClassLevel1 {
public override init () {}
}