Files
swift-mirror/test/Generics/non_generic_derived_class.swift
David Farler b7d17b25ba Rename -parse flag to -typecheck
A parse-only option is needed for parse performance tracking and the
current option also includes semantic analysis.
2016-11-28 10:50:55 -08:00

12 lines
162 B
Swift

// RUN: %target-typecheck-verify-swift
class Base<T> {
class func f(_ arg: T) -> Int {
return 0
}
}
class Derived : Base<Int> {}
var a = Derived.f(42)