diff --git a/test/Interop/Cxx/objc-correctness/pthread_mutexattr_t.swift b/test/Interop/Cxx/objc-correctness/pthread_mutexattr_t.swift index d110ef3e9e002..ac1e6b4fe6a2b 100644 --- a/test/Interop/Cxx/objc-correctness/pthread_mutexattr_t.swift +++ b/test/Interop/Cxx/objc-correctness/pthread_mutexattr_t.swift @@ -3,4 +3,4 @@ import Darwin -_ = pthread_mutexattr_t() // expected-warning {{'init()' is deprecated: This zero-initializes the backing memory of the struct}} +_ = pthread_mutexattr_t() // expected-no-diagnostics