1// RUN: %clang_cc1 -triple x86_64-apple-macosx -fsyntax-only -verify -x objective-c++ %s -o /dev/null 2// REQUIRES: asserts 3 4struct objc_class { 5 unsigned long long bits; 6}; 7typedef struct objc_class *Class; 8static void f(Class c) { (void)(c->bits & RW_HAS_OVERFLOW_REFCOUNT); } 9// expected-error@-1{{use of undeclared identifier 'RW_HAS_OVERFLOW_REFCOUNT}} 10