Files
swift-mirror/test/Parse/library_evolution_feature.swift
Doug Gregor c68ef1cf71 Add an optional language feature for Library Evolution
Replace the one-off compiler flag for Library Evolution with an
optional language feature. This makes the
`hasFeature(LibraryEvolution)` check work in an `#if`, and is
otherwise just cleanup.

Tracked by rdar://161125572.
2025-09-22 17:45:34 -07:00

7 lines
138 B
Swift

// RUN: %target-typecheck-verify-swift -enable-library-evolution
#if hasFeature(LibraryEvolution)
#else
#error("Missing feature")
#endif