Lines Matching refs:copy
7 // Verify that copy arguments requirements are enforced by the
17 _ = copy() // ERROR "missing arguments"
18 _ = copy(1, 2, 3) // ERROR "too many arguments"
20 _ = copy(si, "hi") // ERROR "have different element types.*int.*string"
21 _ = copy(si, sf) // ERROR "have different element types.*int.*float64"
23 _ = copy(1, 2) // ERROR "must be slices; have int, int"
24 _ = copy(1, si) // ERROR "first argument to copy should be"
25 _ = copy(si, 2) // ERROR "second argument to copy should be"