Files
swift-mirror/validation-test/IDE/crashers_fixed/subexpr-literal-in-sequence-expr.swift
Maxim Moiseev 1c1b2b966d [stdlib] String : RangeReplaceableCollection & BidirectionalCollection (#8921)
* [stdlib] String : RangeReplaceableCollection & BidirectionalCollection

* Add source compatibility hack for Swift.max

* Add source compatibility hack for Swift.min

* Remove redundant conformance in benchmarks

* Fix stupid typo I thought I'd already pushed

* XFAIL testing now-redundant conformance

* XFAIL an IDE test for now
2017-04-23 20:04:54 -07:00

13 lines
384 B
Swift

// RUN: %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s | %FileCheck %s
// RUN: %target-swift-ide-test -code-completion -code-completion-token=B -source-filename=%s | %FileCheck %s
// XFAIL: *
func test1() {
1 + [0]#^A^#
}
func test2() {
"" + [""]#^B^#
}
// Sanity check results.
// CHECK: Decl[InfixOperatorFunction]/OtherModule[Swift]: ==