mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Various clients still use the old driver to convert a driver arguments to frontend arguments. This has to work when given new driver arguments, ie. not fail with an unknown argument error. Move all "extra options" from the new driver into `Options.td` and mark them as new driver only.
4 lines
178 B
Swift
4 lines
178 B
Swift
// RUN: %swiftc_driver -emit-module -user-module-version 999.999 %s -### 2>&1 | %FileCheck %s
|
|
|
|
// CHECK: warning: option '-user-module-version' is only supported in swift-driver
|