Files
swift-mirror/test/NameLookup/InheritedConformance.swift
Hamish Knight 5b99c2020f NFC: Re-organize NameBinding tests
The directory currently seems to have a mix of
tests for import resolution and name lookup.
Therefore split it into two directories;
ImportResolution and NameLookup.
2020-03-29 18:51:09 -07:00

10 lines
345 B
Swift

// RUN: %empty-directory(%t)
// RUN: cp %s %t/main.swift
// RUN: %target-swift-frontend -typecheck -primary-file %t/main.swift -emit-reference-dependencies-path - > %t.swiftdeps
// SR-1267, SR-1270
protocol Protocol {}
class ConformingClass: Protocol {}
class BaseClass<T: Protocol> {}
class ConcreteClass<T: ConformingClass> : BaseClass<T> {}