mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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.
7 lines
138 B
Swift
7 lines
138 B
Swift
// RUN: %target-typecheck-verify-swift -enable-library-evolution
|
|
|
|
#if hasFeature(LibraryEvolution)
|
|
#else
|
|
#error("Missing feature")
|
|
#endif
|