Files
swift-mirror/test/ClangModules/serialization-search-paths.swift
Graham Batty 83b4384fac Update test flags for linux failures and support.
Also removed the sdk 'feature' in favour of the more specific
objc_interop.

Swift SVN r24856
2015-01-30 21:31:48 +00:00

16 lines
456 B
Swift

// RUN: rm -rf %t && mkdir -p %t
// RUN: %target-swift-frontend -emit-module-path %t/SerializationHelper.swiftmodule -I %S/Inputs/custom-modules -F %S/Inputs/frameworks %S/Inputs/SerializationHelper.swift
// RUN: %target-swift-frontend -parse -I %t %s -verify
// XFAIL: linux
import SerializationHelper
import Module
let obj: InitProto = Impl(int: 42)
let impl = obj as! Impl
impl.takeStruct(testStruct(value: 0))
_ = impl.getEnum()
getModuleVersion()