// RUN: %swift -parse %s -verify -D FOO -D BAR -target x86_64-freebsd10 -disable-objc-interop -D FOO -parse-stdlib
// RUN: %swift-ide-test -test-input-complete -source-filename=%s -target x86_64-freebsd10

#if arch(x86_64) && os(FreeBSD) && _runtime(_Native)
class C {}
var x = C()
#endif
var y = x

// RUN: %swift -parse %s -verify -D FOO -D BAR -target x86_64-unknown-freebsd10 -disable-objc-interop -D FOO -parse-stdlib
// RUN: %swift-ide-test -test-input-complete -source-filename=%s -target x86_64-unknown-freebsd10

#if arch(x86_64) && os(FreeBSD) && _runtime(_Native)
class C {}
var x = C()
#endif
var y = x

Apply patch provided by gribozavr; swift -target requires a proper triple.
Apply patch provided by gribozavr; swift -target requires a proper triple.
