Sign in
fuchsia
/
third_party
/
swift
/
c7ca64b5cbc8c05fb7fefda25f24a5d27900c997
/
.
/
test
/
Parse
/
ConditionalCompilation
/
trailingClosureOnTargetConfig.swift
blob: 8f0e01d6ff1492a1873975fa69bf0d21cc0e330c [
file
] [
log
] [
blame
]
// RUN: %swift -typecheck %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