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
__attribute__((availability(macos, introduced = 10.0))) int init10();
4
+
__attribute__((availability(macos, introduced = 11.0))) int init11(); // expected-note 2 {{'init11' has been marked as being introduced in macOS 11.0}}
5
+
6
+
structB0 {
7
+
B0(int);
8
+
};
9
+
10
+
structB1 {
11
+
B1(int);
12
+
};
13
+
14
+
structS : B0, B1 {
15
+
S() : B0(init10()),
16
+
B1(init11()), // expected-warning {{'init11' is only available on macOS 11.0}} expected-note {{enclose 'init11'}}
17
+
i0(init10()),
18
+
i1(init11()) // expected-warning {{'init11' is only available on macOS 11.0}} expected-note {{enclose 'init11'}}
0 commit comments