mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Also move a Parse test that's really about conditional compilation directives into the new folder.
9 lines
285 B
Swift
9 lines
285 B
Swift
// RUN: %swift -parse %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)
|
|
class C {}
|
|
var x = C()
|
|
#endif
|
|
var y = x
|