File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: rm -rf %t && mkdir -p %t
2
- // RUN: not %target-swift-frontend -typecheck %s -I %S/Inputs/non-modular -F %S/Inputs/non-modular 2>&1 | %FileCheck --check-prefix=CHECK --check-prefix=CHECK-%target-os %s
2
+ // RUN: not %target-swift-frontend -typecheck %s -I %S/Inputs/non-modular -F %S/Inputs/non-modular 2>&1 | %FileCheck --check-prefix=CHECK --check-prefix=CHECK-%target-runtime %s
3
3
4
4
// CHECK: {{.+}}/non-modular/Foo.framework/Headers/Foo.h:1:9: error: include of non-modular header inside framework module 'Foo'
5
- // CHECK-macosx : error: could not build Objective-C module 'Foo'
6
- // CHECK-linux-gnu : error: could not build C module 'Foo'
5
+ // CHECK-objc : error: could not build Objective-C module 'Foo'
6
+ // CHECK-native : error: could not build C module 'Foo'
7
7
// CHECK-NOT: error
8
8
9
9
import Foo
You can’t perform that action at this time.
0 commit comments