Files
swift-mirror/test/NameLookup/Inputs/lazy_function_body_expansion_helper.swift
Josh Soref 8f300ab884 spelling: that
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2022-05-01 04:32:22 -04:00

8 lines
214 B
Swift

// Body of closure in parameter to call of closureTaker is created lazily
// and this test ensures that body scope does get expanded
var v = closureTaker {
func amIFound() {}
}
func closureTaker(_: () -> Void )