Files
swift-mirror/test/Driver/diagnose-new-driver-flags.swift
Ben Barham d7a33551f8 [Option] Add all new driver arguments (without implementations)
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.
2022-08-30 12:46:42 +10:00

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