Skip to content

Commit 7c7607b

Browse files
authored
Discard changes to test/diagnostics/pretty-printed-diagnostics.swift
1 parent 69f1e8e commit 7c7607b

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

test/diagnostics/pretty-printed-diagnostics.swift

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not %target-swift-frontend -diagnostic-style=swift -typecheck %/s 2>&1 | %FileCheck %s --dump-input=always
1+
// RUN: not %target-swift-frontend -diagnostic-style=swift -typecheck %/s 2>&1 | %FileCheck %s
22

33
// REQUIRES: swift_swift_parser
44

@@ -70,11 +70,6 @@ foo(b:
7070
func test(a: Int) {}
7171
func test(a: Int) {}
7272

73-
struct DuplicateInits {
74-
init(a: Int) {}
75-
init(a: Int) {}
76-
}
77-
7873
// Test fallback for non-ASCII characters.
7974
// CHECK: SOURCE_DIR{{[/\]+}}test{{[/\]+}}diagnostics{{[/\]+}}pretty-printed-diagnostics.swift:[[#LINE:]]:11
8075
// CHECK: [[#LINE-2]] |
@@ -99,9 +94,3 @@ struct DuplicateInits {
9994
// CHECK: | `- note: 'test(a:)' previously declared here
10095
// CHECK: [[#LINE]] | func test(a: Int) {}
10196
// CHECL: [[#LINE+1]] | `- error: invalid redeclaration of 'test(a:)'
102-
103-
// CHECK: SOURCE_DIR{{[/\]+}}test{{[/\]+}}diagnostics{{[/\]+}}pretty-printed-diagnostics.swift:[[#LINE:]]:3
104-
// CHECK: [[#LINE-1]] | init(a: Int) {}
105-
// CHECK: | `- note: 'init(a:)' previously declared here
106-
// CHECK: [[#LINE]] | init(a: Int) {}
107-
// CHECL: [[#LINE+1]] | `- error: invalid redeclaration of 'init(a:)'

0 commit comments

Comments
 (0)