Files
swift-mirror/test/ClangImporter/serialization-search-paths.swift
Henrik G. Olsson cbc0ec3b88 Add -verify-ignore-unrelated where necessary (NFC)
These are tests that fail in the next commit without this flag. This
does not add -verify-ignore-unrelated to all tests with -verify, only
the ones that would fail without it. This is NFC since this flag is
currently a no-op.
2025-10-04 14:19:52 -07:00

15 lines
569 B
Swift

// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -emit-module-path %t/SerializationHelper.swiftmodule -I %S/Inputs/custom-modules -F %S/Inputs/frameworks -sdk "" -enable-objc-interop -disable-objc-attr-requires-foundation-module %S/Inputs/SerializationHelper.swift
// RUN: %target-swift-frontend -enable-objc-interop -typecheck -I %t %s -sdk "" -verify -verify-ignore-unrelated
import SerializationHelper
import Module
let obj: InitProto = Impl(int: 42)
let impl = obj as! Impl
impl.takeStruct(testStruct(value: 0))
_ = impl.getEnum()
getModuleVersion()