Files
swift-mirror/test/ClangModules/serialization.swift
Jordan Rose 4e7fd83c73 [test] Restore "XFAIL: linux" for tests that could be split up.
(into ObjC and non-ObjC parts). See discussion on e56e0f6.
Thanks, Dmitri!
2016-03-22 16:46:04 -07:00

15 lines
494 B
Swift

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