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 c506747 + f0a6948 commit 77a411aCopy full SHA for 77a411a
test/Parse/ConditionalCompilation/aarch64AndroidTarget.swift
@@ -0,0 +1,14 @@
1
+// RUN: %swift -typecheck %s -verify -target aarch64-none-linux-android -disable-objc-interop -parse-stdlib
2
+// RUN: %swift-ide-test -test-input-complete -source-filename=%s -target aarch64-none-linux-android
3
+
4
+#if os(Linux)
5
+// This block should not parse.
6
+// os(Android) does not imply os(Linux).
7
+let i: Int = "Hello"
8
+#endif
9
10
+#if arch(arm64) && os(Android) && _runtime(_Native) && _endian(little)
11
+class C {}
12
+var x = C()
13
14
+var y = x
0 commit comments