mirror of
https://github.com/apple/swift.git
synced 2026-10-04 11:58:22 +02:00
6 lines
298 B
Swift
6 lines
298 B
Swift
// RUN: not %target-swiftc_driver -swift-version 7 -typecheck %s 2>&1 | %FileCheck --check-prefix ERROR_7 %s
|
|
// REQUIRES: no_asserts
|
|
|
|
// ERROR_7: <unknown>:0: error: invalid value '7' in '-language-mode 7'
|
|
// ERROR_7: <unknown>:0: note: valid arguments to '-language-mode' are '4', '4.2', '5', '6'
|