Skip to content

Commit e8d3caa

Browse files
committed
[test] update expected-note in test
1 parent f249139 commit e8d3caa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/SILGen/functions_uninhabited_param.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
//===--- Function declaration with uninhabited parameter type
44

5-
func foo(baz: Never) -> Int { // expected-note {{the function body will never be executed}}
5+
func foo(baz: Never) -> Int { // expected-note {{the function body will never be executed. remove the function body to dismiss the warning}}
66
print("I can't be called!") // expected-warning{{will never be executed}}
77
return 0
88
}

0 commit comments

Comments
 (0)