mirror of
https://github.com/apple/swift.git
synced 2026-10-22 19:15:50 +02:00
Tests require the compiler built with SwiftCompilerSources since a long time. So this lit feature was redundant anyway. We can remove it.
16 lines
703 B
Swift
16 lines
703 B
Swift
// REQUIRES: OS=macosx
|
|
// REQUIRES: embedded_stdlib
|
|
// REQUIRES: swift_feature_Embedded
|
|
// RUN: %batch-code-completion -target %target-cpu-apple-macos14 -enable-experimental-feature Embedded
|
|
|
|
func test() {
|
|
#^GLOBAL^#
|
|
// GLOBAL: Literal[Integer]/None: 0[#Int#];
|
|
// GLOBAL: Literal[Boolean]/None: true[#Bool#];
|
|
// GLOBAL: Literal[Boolean]/None: false[#Bool#];
|
|
// GLOBAL: Literal[Nil]/None: nil;
|
|
// GLOBAL: Literal[String]/None: "{#(abc)#}"[#String#];
|
|
// GLOBAL: Literal[Array]/None: [{#(values)#}][#Array<Element>#];
|
|
// GLOBAL: Literal[Dictionary]/None: [{#(key)#}: {#(value)#}][#Dictionary<Key, Value>#];
|
|
}
|