YouCompleteMe/cpp/llvm/tools/clang/test/SemaObjCXX/arc-libstdcxx.mm
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

11 lines
497 B
Plaintext

// RUN: %clang_cc1 -fsyntax-only -fobjc-arc -fobjc-arc-cxxlib=libstdc++ -fobjc-runtime-has-weak -verify %s
@interface A @end
int check0[std::__is_scalar<__strong id>::__value? -1 : 1];
int check1[std::__is_scalar<__weak id>::__value? -1 : 1];
int check2[std::__is_scalar<__autoreleasing id>::__value? -1 : 1];
int check3[std::__is_scalar<__strong A*>::__value? -1 : 1];
int check4[std::__is_scalar<__weak A*>::__value? -1 : 1];
int check5[std::__is_scalar<__autoreleasing A*>::__value? -1 : 1];