mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
9 lines
418 B
Swift
9 lines
418 B
Swift
// RUN: not %swift -fake-argument -abcdef -c %s -o %t.o 2>&1 | %FileCheck %s
|
|
|
|
// CHECK: <unknown>:0: error: unknown argument: '-fake-argument'
|
|
// CHECK-NEXT: <unknown>:0: error: unknown argument: '-abcdef'
|
|
|
|
// RUN: not %swiftc_driver -c %s -o %t.o -Xfrontend -fake-frontend-arg -Xfrontend fakevalue 2>&1 | %FileCheck -check-prefix=XFRONTEND %s
|
|
|
|
// XFRONTEND: <unknown>:0: error: unknown argument: '-fake-frontend-arg'
|