mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
8 lines
303 B
Swift
8 lines
303 B
Swift
// RUN: %target-swift-frontend -emit-ir -o - -primary-file %s %S/Inputs/issue-42907-other.swift -module-name main
|
|
|
|
// https://github.com/apple/swift/issues/42907
|
|
// Crash in IR generation due to missing conformance
|
|
func definedInMain() { print(MemoryLayout<FourFloats>.size) }
|
|
|
|
let d = definedInOther()
|