Files
swift-mirror/test/Parse/ConditionalCompilation/x64OSXTarget.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

16 lines
423 B
Swift

// RUN: %swift -typecheck %s -verify -D FOO -D BAR -target x86_64-apple-macosx10.9 -D FOO -parse-stdlib
// RUN: %swift-ide-test -test-input-complete -source-filename=%s -target x86_64-apple-macosx10.9
#if arch(x86_64) && os(OSX) && _runtime(_ObjC) && _endian(little)
class C {}
var x = C()
#endif
var y = x
#if arch(x86_64) && os(macOS) && _runtime(_ObjC) && _endian(little)
class CC {}
var xx = CC()
#endif
var yy = xx