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 11// Check that the "-enable-embedded-swift" is stored as a flag in the
22// Compile Unit.
33
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
55
66// REQUIRES: swift_in_compiler
77// REQUIRES: executable_test
Original file line number Diff line number Diff line change 11// REQUIRES: asserts
22// REQUIRES: swift_in_compiler
3- // REQUIRES: OS=macosx || OS= linux-gnu
3+ // REQUIRES: OS=linux-gnu
44// RUN: %batch-code-completion -enable-experimental-feature Embedded
55
66func 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
22
33// Also do an end-to-end test and check if the compiled executable works as expected.
44// 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