1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
3 @interface PBXTrackableTaskManager @end
4 @implementation PBXTrackableTaskManager @end
7 operator PBXTrackableTaskManager *() const { return 0; }
11 operator int *() const { return 0; }
18 @synchronized (b) { // expected-error {{@synchronized requires an Objective-C object type ('struct y' invalid)}}