// RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-linux-gnu %s
#defineNODEREF__attribute__((noderef))voidFunc(){int NODEREF i;// expected-warning{{'noderef' can only be used on an array or pointer type}}
int NODEREF *i_ptr;// There should be no difference whether a macro defined type is used or not.
auto__attribute__((noderef))*auto_i_ptr = i_ptr;auto__attribute__((noderef)) auto_i = i;// expected-warning{{'noderef' can only be used on an array or pointer type}}
auto NODEREF *auto_i_ptr2 = i_ptr;auto NODEREF auto_i2 = i;// expected-warning{{'noderef' can only be used on an array or pointer type}}
}// Added test for fix for P41835
#define_LIBCPP_FLOAT_ABI__attribute__((pcs("aapcs")))structA{_LIBCPP_FLOAT_ABIintoperator()()throw();// expected-warning{{'pcs' calling convention is not supported for this target}}
};// Added test for fix for PR43315
#definea__attribute__((__cdecl__, __regparm__(0)))int(a b)();