File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change
1
+ // TODO: why can't we run this on linux?
2
+ // REQUIRES: OS=macosx
3
+
1
4
// RUN: rm -rf %t
2
5
// RUN: split-file %s %t
3
6
// RUN: not %target-swift-frontend -typecheck -I %t/Inputs %t/test.swift -enable-experimental-cxx-interop 2>&1 | %FileCheck %s
@@ -19,13 +22,13 @@ import Test
19
22
import CxxStdlib. vector
20
23
21
24
public func test( v: V ) {
22
- // CHECK: note: C++ method 'begin' that returns an iterator unavailable
25
+ // CHECK: note: C++ method 'begin' that returns an iterator is unavailable
23
26
// CHECK: note: Do you want to make a Swift iterator instead?
24
27
// CHECK: ^~~~~
25
28
// CHECK: makeIterator
26
29
_ = v. begin ( )
27
30
28
- // CHECK: note: C++ method 'end' that returns an iterator unavailable
31
+ // CHECK: note: C++ method 'end' that returns an iterator is unavailable
29
32
// CHECK: note: Do you want to compare against 'nil' instead?'
30
33
// CHECK: ^~~~
31
34
// CHECK: nil
You can’t perform that action at this time.
0 commit comments