Gardening: Migrate test suite to GH issues: AutoDiff/Sema

This commit is contained in:
Anthony Latsis
2022-09-08 11:40:24 +03:00
parent 1b2e4f983e
commit ece9a0d3d3
6 changed files with 36 additions and 23 deletions

View File

@@ -4,13 +4,14 @@
// "-verify-ignore-unknown" is for "<unknown>:0: note: 'init()' declared here"
// RUN: %target-swift-frontend-typecheck -verify -verify-ignore-unknown -I %t %s
// SR-12526: Fix cross-module deserialization crash involving `@derivative` attribute.
// https://github.com/apple/swift/issues/54969
// Fix cross-module deserialization crash involving `@derivative` attribute.
import a
import b
func foo(_ s: Struct) {
// Without this error, SR-12526 does not trigger.
// Without this error, the aforementioned issue does not trigger.
// expected-error @+1 {{'Struct' initializer is inaccessible due to 'internal' protection level}}
_ = Struct()
_ = s.method(1)