[lang-ref] ( struct_type_property ) ( swift )
@Test func structTypeProperty() {
struct Struct01 {
var member01: Int
var member02: Int
static let limit: Int = 100
}
#expect(Struct01.limit == 100)
}
@Test func structTypeProperty() {
struct Struct01 {
var member01: Int
var member02: Int
static let limit: Int = 100
}
#expect(Struct01.limit == 100)
}