mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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.
18 lines
651 B
Swift
18 lines
651 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend -emit-module -I %t -o %t %S/Inputs/custom_attrs_A.swift
|
|
// RUN: %target-swift-frontend -emit-module -I %t -o %t %S/Inputs/custom_attrs_B.swift
|
|
// RUN: %target-swift-frontend -typecheck -verify -verify-ignore-unrelated -verify-ignore-unknown -I %t %s
|
|
import custom_attrs_A
|
|
import custom_attrs_B
|
|
|
|
// https://github.com/apple/swift/issues/55912
|
|
|
|
struct Test {
|
|
@Wrapper var x: Int = 17
|
|
// expected-error@-1 {{'Wrapper' is ambiguous for type lookup in this context}}
|
|
|
|
init(@Builder closure: () -> Int) {}
|
|
// expected-error@-1 {{'Builder' is ambiguous for type lookup in this context}}
|
|
}
|
|
|