mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
These tests were defining an unused macro for no clear reason. Remove them to simplify the tests.
10 lines
229 B
Swift
10 lines
229 B
Swift
// RUN: %swift -typecheck %s -verify -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
|