Files
swift-mirror/test/Parse/ConditionalCompilation/x64OSXTarget.swift
Saleem Abdulrasool 52952623db test: remove extraneous macro definitions
These tests were defining an unused macro for no clear reason.  Remove
them to simplify the tests.
2019-05-07 08:06:02 -07:00

16 lines
402 B
Swift

// RUN: %swift -typecheck %s -verify -target x86_64-apple-macosx10.9 -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