Skip to content

Commit 1e3d88e

Browse files
committed
Update a test
1 parent 2c7246e commit 1e3d88e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/attr/attr_specialize.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public func funcWithTwoGenericParameters<X, Y>(x: X, y: Y) {
145145
@_specialize(kind: partial, exported: true, where X == Int, Y == Int)
146146
@_specialize(kind: partial, kind: partial, where X == Int, Y == Int) // expected-error{{parameter 'kind' was already defined in '_specialize' attribute}}
147147

148-
@_specialize(where X == Int, Y == Int, exported: true, kind: partial) // expected-error{{use of undeclared type 'exported'}} expected-error{{use of undeclared type 'kind'}} expected-error{{use of undeclared type 'partial'}} expected-error{{expected identifier for type name}}
148+
@_specialize(where X == Int, Y == Int, exported: true, kind: partial) // expected-error{{use of undeclared type 'exported'}} expected-error{{use of undeclared type 'kind'}} expected-error{{use of undeclared type 'partial'}} expected-error{{expected type}}
149149
public func anotherFuncWithTwoGenericParameters<X: P, Y>(x: X, y: Y) {
150150
}
151151

0 commit comments

Comments
 (0)