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 8578a0e + 63742ba commit 278e778Copy full SHA for 278e778
test/embedded/no-allocations-print.swift
@@ -0,0 +1,13 @@
1
+// RUN: %target-swift-emit-ir %s -enable-experimental-feature Embedded -no-allocations
2
+
3
+// RUN: %target-swift-emit-ir -target armv7-apple-none-macho -no-allocations -Xcc -D__MACH__ %s -enable-experimental-feature Embedded
4
+// RUN: %target-swift-emit-ir -target arm64-apple-none-macho -no-allocations -Xcc -D__MACH__ -Xcc -D__arm64__ -Xcc -D__APPLE__ %s -enable-experimental-feature Embedded
5
6
+// REQUIRES: swift_in_compiler
7
+// REQUIRES: optimized_stdlib
8
+// REQUIRES: OS=macosx || OS=linux-gnu
9
+// REQUIRES: CODEGENERATOR=ARM
10
11
+print("Hello Embedded Swift!")
12
+print(42)
13
+print(false)
0 commit comments