blob: 5d66a3e0becf650a5b750d66d006d3d2c3bc139a [file] [log] [blame]
// RUN: %swift -typecheck %s -verify -target x86_64-apple-tvos9.0 -parse-stdlib
// RUN: %swift-ide-test -test-input-complete -source-filename=%s -target x86_64-apple-tvos9.0
#if os(iOS)
// This block should not parse.
// os(tvOS) or os(watchOS) does not imply os(iOS).
let i: Int = "Hello"
#endif
#if arch(x86_64) && os(tvOS) && _runtime(_ObjC) && _endian(little)
class C {}
var x = C()
#endif
var y = x