Mercurial > hg > CbC > CbC_llvm
view clang/test/SemaObjCXX/pr32725.mm @ 222:81f6424ef0e3 llvm-original
LLVM original branch
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 18 Jul 2021 22:10:01 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// RUN: %clang_cc1 -triple x86_64-apple-macosx -fsyntax-only -verify -x objective-c++ %s -o /dev/null // REQUIRES: asserts struct objc_class { unsigned long long bits; }; typedef struct objc_class *Class; static void f(Class c) { (void)(c->bits & RW_HAS_OVERFLOW_REFCOUNT); } // expected-error@-1{{use of undeclared identifier 'RW_HAS_OVERFLOW_REFCOUNT}}