blob: 8109cf163ab71fc9989e07648e66e0284c4211af [file] [log] [blame]
// RUN: %target-swift-frontend -typecheck -primary-file %s %S/Inputs/inherited-inits-other.swift -verify
// expected-no-diagnostics
// Test that we get the generic signature right (which is needed for the
// super.init to properly type-check) when it comes from another source
// file (rdar://problem/44235762).
class C: B<Int> {
override init(foo: Int) {
super.init(foo: foo)
}
}