File tree Expand file tree Collapse file tree 4 files changed +18
-3
lines changed Expand file tree Collapse file tree 4 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 1
1
// Check that the "-enable-embedded-swift" is stored as a flag in the
2
2
// Compile Unit.
3
3
4
- // RUN: %target-swift-frontend -emit-ir -enable-experimental-feature Embedded -g %s -o - | %FileCheck %s
4
+ // RUN: %target-swift-frontend -target %target-cpu-apple-macos14 - emit-ir -enable-experimental-feature Embedded -g %s -o - | %FileCheck %s
5
5
6
6
// REQUIRES: swift_in_compiler
7
7
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// REQUIRES: asserts
2
2
// REQUIRES: swift_in_compiler
3
- // REQUIRES: OS=macosx || OS= linux-gnu
3
+ // REQUIRES: OS=linux-gnu
4
4
// RUN: %batch-code-completion -enable-experimental-feature Embedded
5
5
6
6
func test( ) {
Original file line number Diff line number Diff line change
1
+ // REQUIRES: asserts
2
+ // REQUIRES: swift_in_compiler
3
+ // REQUIRES: OS=macosx
4
+ // RUN: %batch-code-completion -target %target-cpu-apple-macos14 -enable-experimental-feature Embedded
5
+
6
+ func test( ) {
7
+ #^GLOBAL^#
8
+ // GLOBAL: Literal[Integer]/None: 0[#Int#];
9
+ // GLOBAL: Literal[Boolean]/None: true[#Bool#];
10
+ // GLOBAL: Literal[Boolean]/None: false[#Bool#];
11
+ // GLOBAL: Literal[Nil]/None: nil;
12
+ // GLOBAL: Literal[String]/None: "{#(abc)#}"[#String#];
13
+ // GLOBAL: Literal[Array]/None: [{#(values)#}][#Array#];
14
+ // GLOBAL: Literal[Dictionary]/None: [{#(key)#}: {#(value)#}][#Dictionary#];
15
+ }
Original file line number Diff line number Diff line change 1
- // RUN: %target-swift-frontend -primary-file %s -parse-as-library -sil-verify-all -Xllvm -enable-deinit-devirtualizer -module-name=test -emit-sil | %FileCheck %s
1
+ // RUN: %target-swift-frontend -target %target-cpu-apple-macos14 -primary-file %s -parse-as-library -sil-verify-all -Xllvm -enable-deinit-devirtualizer -module-name=test -emit-sil | %FileCheck %s
2
2
3
3
// Also do an end-to-end test and check if the compiled executable works as expected.
4
4
// RUN: %target-run-simple-swift(-Xllvm -enable-deinit-devirtualizer -parse-as-library) | %FileCheck -check-prefix CHECK-OUTPUT %s
You can’t perform that action at this time.
0 commit comments