mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Rewrite the shell to be more clever so it is amenable to porting to Windows. Use env not rather than not env to permit the lit environment handling to take over for Windows.
4 lines
192 B
Swift
4 lines
192 B
Swift
// RUN: env SWIFT_FORCE_MODULE_LOADING=garbage not %target-swift-frontend -typecheck %s 2>&1 | %FileCheck %s
|
|
|
|
// CHECK: error: unknown value for SWIFT_FORCE_MODULE_LOADING variable: 'garbage'
|