mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This enables additional tests for the ClangImporter. This found a missing piece in the `-enable-objc-interop` work that was done previously. Address that and enable the tests. There are now the following failing tests on Linux: * sdk - depends on Foundation (not hermetic, see SR-7572) * mixed-nsuinteger - depends on Foundation (not hermetic, see SR-7572) * import-mixed-with-header-twice - requires apple/swift PR#16022 * can_import_objc_idempotent - requires apple/swift PR#16022 * objc_protocol_renaming - requires apple/swift PR#16022
15 lines
415 B
Swift
15 lines
415 B
Swift
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -enable-objc-interop -emit-sil -I %S/Inputs/custom-modules %s -verify > /dev/null
|
|
|
|
// expected-no-diagnostics
|
|
|
|
// This file tests the AST verifier, which performs extra checks when there are
|
|
// no errors emitted. Please do not add any.
|
|
|
|
|
|
import ObjCParseExtras
|
|
|
|
func test() {
|
|
// Properties with instancetype getters.
|
|
_ = InstancetypeAccessor.prop
|
|
}
|