1*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -fsyntax-only -fobjc-arc -fobjc-arc-cxxlib=libstdc++ -fobjc-runtime-has-weak -verify %s 2*f4a2713aSLionel Sambuc// expected-no-diagnostics 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc@interface A @end 5*f4a2713aSLionel Sambuc 6*f4a2713aSLionel Sambucint check0[std::__is_scalar<__strong id>::__value? -1 : 1]; 7*f4a2713aSLionel Sambucint check1[std::__is_scalar<__weak id>::__value? -1 : 1]; 8*f4a2713aSLionel Sambucint check2[std::__is_scalar<__autoreleasing id>::__value? -1 : 1]; 9*f4a2713aSLionel Sambucint check3[std::__is_scalar<__strong A*>::__value? -1 : 1]; 10*f4a2713aSLionel Sambucint check4[std::__is_scalar<__weak A*>::__value? -1 : 1]; 11*f4a2713aSLionel Sambucint check5[std::__is_scalar<__autoreleasing A*>::__value? -1 : 1]; 12