mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This is a regression from recent changes to make finalizeDecl() do less work. All these resolveDeclSignature() calls will hopefully go away soon, once validateDecl() is refactored into a getInterfaceType() request.
14 lines
531 B
Swift
14 lines
531 B
Swift
// RUN: %target-build-swift %S/Inputs/library.swift %S/main.swift
|
|
// RUN: %target-build-swift -whole-module-optimization %S/Inputs/library.swift %S/main.swift
|
|
// RUN: %target-build-swift -enable-library-evolution %S/Inputs/library.swift %S/main.swift
|
|
// RUN: %target-build-swift -enable-library-evolution -whole-module-optimization %S/Inputs/library.swift %S/main.swift
|
|
|
|
func meltCheese(_ burger: Burger) -> Int {
|
|
return burger.cheeseSlices
|
|
}
|
|
|
|
@inlinable
|
|
func bestBurrito(_ burrito: Burrito) -> Int {
|
|
return burrito.cilantro
|
|
}
|