mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Also removed the sdk 'feature' in favour of the more specific objc_interop. Swift SVN r24856
15 lines
432 B
Swift
15 lines
432 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
|
|
// RUN: %target-swift-frontend -parse -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()
|