Files
swift-mirror/test/Parse/ConditionalCompilation/x64WindowsTarget.swift
Robert Widmann 0cf1b52452 Treat Cygwin as a separate OS
Cygwin is considered a distinct target with a distinct ABI, environment
conditions, and data types.  Though the goal of the project is
native Windows integration with UNIX-likes, that is not compatible with
the idea that the platform can be ignored as Win-like enough to have the
existing os(Windows) condition apply.
2017-06-28 13:31:05 -07:00

9 lines
344 B
Swift

// RUN: %swift -typecheck %s -verify -D FOO -D BAR -target x86_64-unknown-windows-msvc -disable-objc-interop -D FOO -parse-stdlib
// RUN: %swift-ide-test -test-input-complete -source-filename=%s -target x86_64-unknown-windows-msvc
#if arch(x86_64) && os(Windows) && _runtime(_Native) && _endian(little)
class C {}
var x = C()
#endif
var y = x