Files
swift-mirror/test/SILGen/moveonly_deinit_module_no_body.swift
2024-07-23 11:05:33 -07:00

15 lines
275 B
Swift

// RUN: %target-swift-frontend -emit-module -g -experimental-skip-non-inlinable-function-bodies-without-types %s
// Just make sure we don't crash.
public struct S: ~Copyable {
private let desc: Int
internal init(desc: Int) {
self.desc = desc
}
deinit {
}
}