Files
swift-mirror/test/IDE/Inputs/complete_testable_helper.swift
Jordan Rose e524e96beb [test] Add a code completion test for @testable.
...which isn't quite working yet. Because we cache the results of top-level
lookups into modules, we can't see testable decls at the top level yet.
However, I think that's the only known issue with testability at this point,
so we can move ahead with the feature.

Swift SVN r26846
2015-04-02 02:57:40 +00:00

9 lines
200 B
Swift

public struct PublicStruct {
public func publicMethod() {}
internal func internalMethod() {}
private func privateMethod() {}
}
internal struct InternalStruct {}
private struct PrivateStruct {}