brintos

brintos / llvm-project-archived public Read only

0
0
Text · 358 B · 8d7d116 Raw
10 lines · plain
1// RUN: %clang_cc1 -triple x86_64-apple-macosx -fsyntax-only -verify -x objective-c++ %s -o /dev/null2// REQUIRES: asserts3 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