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