mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Also, add more tests for the "os" and "arch" target configurations, to exercise likely build configurations for iOS and the iOS simulator. Swift SVN r14307
8 lines
145 B
Swift
8 lines
145 B
Swift
// RUN: %swift -parse %s -verify -D FOO -D BAR -target arm-apple-ios7.0 -D FOO
|
|
|
|
#if arch(ARM) && os(iOS)
|
|
class C {}
|
|
var x = C()
|
|
#endif
|
|
var y = x
|