mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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.
8 lines
219 B
Swift
8 lines
219 B
Swift
// Body of closure in parameter to call of closureTaker is created lazily
|
|
// and this test ensures that that body scope does get expanded
|
|
var v = closureTaker {
|
|
func amIFound() {}
|
|
}
|
|
|
|
func closureTaker(_: () -> Void )
|