blob: 0df96509064da0d7a7c6f2dfa25d6b297ae2a2c9 [file] [log] [blame]
let a = 12
// rdar://problem/30346106
// Invalid offset should trigger a crash.
// RUN: %sourcekitd-test \
// RUN: -req=open %s -- %s == \
// RUN: -req=edit -async -offset=0 -length=200 -replace='' %s -- %s == \
// RUN: -req=cursor -offset=250 %s -- %s \
// RUN: | %FileCheck %s
// CHECK: <empty cursor info>