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/Sema/diag_originally_definedin.swift
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,16 @@
6
6
publicfunc foo(){}
7
7
8
8
@available(macOS 10.13,*)
9
-
@_originallyDefinedIn(module:"original", OSX 10.12) // expected-error {{moved version from @_originallyDefinedIn must after introduced OS version}}
9
+
@_originallyDefinedIn(module:"original", OSX 10.12) // expected-error {{symbols are moved to the current module before they were available in the OSs}}
10
10
publicclassC{
11
11
@_originallyDefinedIn(module:"original", OSX 10.13) // expected-error {{@_originallyDefinedIn is only applicable to top-level decl}}
0 commit comments