Files
swift-mirror/test/ClangImporter/objc_parse_verifier.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
440 B
Swift

// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -enable-objc-interop -emit-sil -I %S/Inputs/custom-modules %s -verify -verify-ignore-unrelated > /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
}