Files
swift-mirror/test/Parse/ConditionalCompilation/armAndroidTarget.swift
Saleem Abdulrasool 52952623db test: remove extraneous macro definitions
These tests were defining an unused macro for no clear reason.  Remove
them to simplify the tests.
2019-05-07 08:06:02 -07:00

15 lines
438 B
Swift

// RUN: %swift -typecheck %s -verify -target armv7-none-linux-androideabi -disable-objc-interop -parse-stdlib
// RUN: %swift-ide-test -test-input-complete -source-filename=%s -target armv7-none-linux-androideabi
#if os(Linux)
// This block should not parse.
// os(Android) does not imply os(Linux).
let i: Int = "Hello"
#endif
#if arch(arm) && os(Android) && _runtime(_Native) && _endian(little)
class C {}
var x = C()
#endif
var y = x