blob: 71771b4b1375eeae6b21a216dda8ee4b5e37f816 [file] [log] [blame]
John McCalld1e40d52011-10-02 01:16:38 +00001// RUN: %clang_cc1 -fsyntax-only -fobjc-arc -fobjc-arc-cxxlib=libstdc++ -fobjc-runtime-has-weak -verify %s
John McCallf85e1932011-06-15 23:02:42 +00002
3@interface A @end
4
5int check0[std::__is_scalar<__strong id>::__value? -1 : 1];
6int check1[std::__is_scalar<__weak id>::__value? -1 : 1];
7int check2[std::__is_scalar<__autoreleasing id>::__value? -1 : 1];
8int check3[std::__is_scalar<__strong A*>::__value? -1 : 1];
9int check4[std::__is_scalar<__weak A*>::__value? -1 : 1];
10int check5[std::__is_scalar<__autoreleasing A*>::__value? -1 : 1];