Skip to content

Commit b448ef1

Browse files
committed
[6.0] update addl test case
1 parent 288a7d9 commit b448ef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/SILOptimizer/moveonly_builtins.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ struct NC: ~Copyable {}
1212
func checkPointerBuiltins(_ ptr: Builtin.RawPointer, _ value: consuming NC) {
1313
Builtin.initialize(value, ptr)
1414
#if ILLEGAL
15-
Builtin.copy(value) // expected-illegal-error {{noncopyable type 'NC' cannot be substituted for copyable generic parameter 'T' in 'copy'}}
15+
Builtin.copy(value) // expected-illegal-error {{global function 'copy' requires that 'NC' conform to 'Copyable'}}
1616
#endif
1717
}
1818

0 commit comments

Comments
 (0)