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.
10 lines
237 B
Swift
10 lines
237 B
Swift
// RUN: %swift -parse %s -verify -D FOO -D BAZ -target x86_64-apple-macosx10.9 -parse-stdlib
|
|
|
|
struct Foo {}
|
|
|
|
func useFoo(foo: Foo) {}
|
|
|
|
#if arch(x86_64) && os(OSX)
|
|
useFoo(Foo()) // This should not be parsed as a trailing closure
|
|
#endif
|