@@ -309,23 +309,23 @@ public func knownAndUnknownMacroVersionned() {}
309309public func emptyAttributeFunc( ) { }
310310
311311@available ( macOS 11 . 0 , * )
312- @_backDeploy ( macOS 12 . 0 ) // expected-error {{expected 'before:' in '@_backDeploy' attribute}}
312+ @_backDeploy ( macOS 12 . 0 ) // expected-error {{expected 'before:' in '@_backDeploy' attribute}} {{14-14=before:}}
313313public func missingBeforeFunc( ) { }
314314
315- @_backDeploy ( before) // expected-error {{expected ':' after 'before' in '@_backDeploy' attribute}}
315+ @_backDeploy ( before) // expected-error {{expected ':' after 'before' in '@_backDeploy' attribute}} {{20-20=:}}
316316// expected-error@-1 {{expected at least one platform version in '@_backDeploy' attribute}}
317317public func missingColonAfterBeforeFunc( ) { }
318318
319319@available ( macOS 11 . 0 , * )
320- @_backDeploy ( before macOS 12 . 0 ) // expected-error {{expected ':' after 'before' in '@_backDeploy' attribute}}
320+ @_backDeploy ( before macOS 12 . 0 ) // expected-error {{expected ':' after 'before' in '@_backDeploy' attribute}} {{20-20=:}}
321321public func missingColonBetweenBeforeAndPlatformFunc( ) { }
322322
323323@available ( macOS 11 . 0 , * )
324- @_backDeploy ( before: macOS 12.0 , ) // expected-error {{unexpected ',' separator}}
324+ @_backDeploy ( before: macOS 12.0 , ) // expected-error {{unexpected ',' separator}} {{32-33=}}
325325public func unexpectedTrailingCommaFunc( ) { }
326326
327327@available ( macOS 11 . 0 , iOS 14 . 0 , * )
328- @_backDeploy ( before: macOS 12.0 , , iOS 15 . 0 ) // expected-error {{unexpected ',' separator}}
328+ @_backDeploy ( before: macOS 12.0 , , iOS 15 . 0 ) // expected-error {{unexpected ',' separator}} {{33-34=}}
329329public func extraCommaFunc( ) { }
330330
331331@_backDeploy ( before: ) // expected-error {{expected at least one platform version in '@_backDeploy' attribute}}
0 commit comments