You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/Parse/original_defined_in_attr.swift
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ class ToplevelClass2 {}
19
19
@_originallyDefinedIn(module:"foo", // expected-error {{expected at least one platform version in @_originallyDefinedIn}}
20
20
class ToplevelClass3 {}
21
21
22
+
@available(OSX 13.10,*)
22
23
@_originallyDefinedIn(module:"foo",*13.13) // expected-warning {{* as platform name has no effect}} expected-error {{expected at least one platform version in @_originallyDefinedIn}}
@_originallyDefinedIn(module:"foo", OSX 13.14,*7.0) // expected-warning {{* as platform name has no effect}} expected-error {{duplicate version number for platform OSX}}
0 commit comments