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
_ =dispatch_source_create(OpaquePointer(bitPattern:~0)!,0,0,nil) // expected-error {{'dispatch_source_create' is unavailable: Use DispatchSource class methods}}
13
13
14
-
_ =dispatch_get_main_queue() // expected-error {{'dispatch_get_main_queue()' has been replaced by property 'DispatchQueue.main'}}
14
+
// Next test is disabled pending what to do about libdispatch change to the signature of dispatch_get_main_queue(): rdar://problem/36528231.
15
+
// To re-enable, remove the #if/#endif and remove "FIXME-" from 'expected-FIXME-error'
16
+
#if false
17
+
_ =dispatch_get_main_queue() // expected-FIXME-error {{'dispatch_get_main_queue()' has been replaced by property 'DispatchQueue.main'}}
0 commit comments