Files
swift-mirror/test/Parse/ConditionalCompilation/x86_64PS4Target.swift
David Farler b7d17b25ba Rename -parse flag to -typecheck
A parse-only option is needed for parse performance tracking and the
current option also includes semantic analysis.
2016-11-28 10:50:55 -08:00

17 lines
412 B
Swift

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