Files
swift-mirror/test/multifile/class-layout/final-stored-property/main.swift
Slava Pestov 19344e0f1a IRGen: Fix crash if the type of a class stored property hasn't been validated yet
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.
2019-08-07 17:33:09 -04:00

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
}