mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
8 lines
262 B
Swift
8 lines
262 B
Swift
// RUN: not %sourcekitd-test -req=diags %s -print-raw-response -id=diag -async -- %s == -cancel=diag 2>&1 | %FileCheck --dump-input=always %s
|
|
|
|
func foo(x: Invalid1, y: Invalid2) {
|
|
x / y / x / y / x / y / x / y
|
|
}
|
|
|
|
// CHECK: error response (Request Cancelled)
|