Skip to content

Commit 84caa59

Browse files
authored
Merge pull request #11771 from rudkx/fix-test-for-rdar33433087
Switch test from 'not ...' to positive test with the correct verify c…
2 parents 2195b73 + f566d8d commit 84caa59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

validation-test/compiler_crashers_2_fixed/0117-rdar33433087.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// RUN: not %target-swift-frontend %s -typecheck
1+
// RUN: %target-typecheck-verify-swift %s
22

33
class C {
4-
private init() {} // expected-error {{declared here}}
4+
private init() {} // expected-note {{declared here}}
55
init(n: Int) {}
66
}
77

0 commit comments

Comments
 (0)