Files
swift-mirror/test/NameLookup/disabled_opaque_decl.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

15 lines
227 B
Swift

// Ensure scope construction does not crash
// RUN: %target-swift-frontend -emit-module %s
public protocol P { }
extension Int: P { }
#if false
public struct Foo {
public func getP() -> some P {
return 17
}
}
#endif