Files
swift-mirror/test/IRGen/context_descriptor_cross_file_reference.swift
Joe Groff a7a3b17597 Replace nominal type descriptors with a hierarchy of context descriptors.
This new format more efficiently represents existing information, while
more accurately encoding important information about nested generic
contexts with same-type and layout constraints that need to be evaluated
at runtime. It's also designed with an eye to forward- and
backward-compatible expansion for ABI stability with future Swift
versions.
2018-01-29 16:19:25 -08:00

10 lines
190 B
Swift

// RUN: %target-swift-frontend -c -primary-file %s %S/Inputs/context_descriptor_cross_file_reference_2.swift -verify
extension X {
struct Y {}
}
func force_metadata() {
print(X.Y())
}