We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ed8cbea + 256908b commit 95330bcCopy full SHA for 95330bc
test/embedded/fno-builtin.swift
@@ -0,0 +1,15 @@
1
+// RUN: %target-swift-emit-ir %s %S/Inputs/print.swift -module-name main -Xcc -fno-builtin -enable-experimental-feature Embedded | %FileCheck %s
2
+// RUN: %target-swift-emit-ir %s %S/Inputs/print.swift -module-name main -Xcc -ffreestanding -enable-experimental-feature Embedded | %FileCheck %s
3
+
4
+// REQUIRES: swift_in_compiler
5
+// REQUIRES: VENDOR=apple
6
+// REQUIRES: OS=macosx
7
8
+public func foo() -> [Int] {
9
+ var a = [1, 2, 3]
10
+ a.append(4)
11
+ let b = a.sorted()
12
+ return b
13
+}
14
15
+// CHECK: define {{.*}}@"$s4main3fooSaySiGyF"()
0 commit comments