mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Gardening: Migrate test suite to GH issues: AutoDiff/Sema
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user