Files
swift-mirror/test/IRGen/Inputs/vtable_multi_file_helper.swift
Slava Pestov 2e3f4acfd1 AST: Fix mangling of unvalidated declarations
This is again just a temporary workaround until getInterfaceType() can
kick off a request.
2019-08-06 17:57:41 -04:00

28 lines
442 B
Swift

class EmptyBase {}
class Subclass : EmptyBase {
class var classProp: String { return "abc" }
}
class SillySequence : Sequence, IteratorProtocol {
typealias Element = Int
var storedProperty: Int = 0
func makeIterator() -> SillySequence {
return self
}
func next() -> Int? {
return nil
}
}
class Holder {
func getSillySequence() -> SillySequence {
return SillySequence()
}
}
class Base {
func method() {}
}