Files
swift-custom-dump/Tests/CustomDumpTests/CompileTimeTests.swift
2026-02-06 21:29:02 -08:00

25 lines
394 B
Swift

import CustomDump
#if canImport(Observation)
import Observation
#endif
@DebugSnapshot
private class FilePrivate {
var count: Int = 0
}
@DebugSnapshot
private class Private {
var count: Int = 0
}
#if canImport(Observation)
@DebugSnapshot
@Observable
@available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
private class ObservableModel {
var count: Int = 0
}
#endif