res|=__builtin_arm_strex(42,(constchar*)addr);// expected-warning {{passing 'const char *' to parameter of type 'volatile char *' discards qualifiers}}
res|=__builtin_arm_strex(var,(structSimple*)addr);// expected-error {{address argument to atomic builtin must be a pointer to}}
res|=__builtin_arm_strex(var,(structSimple**)addr);// expected-error {{passing 'struct Simple' to parameter of incompatible type 'struct Simple *'}}
res|=__builtin_arm_strex(&var,(structSimple**)addr).a;// expected-error {{is not a structure or union}}
__builtin_arm_strex(1);// expected-error {{too few arguments to function call}}
__builtin_arm_strex(1,2,3);// expected-error {{too many arguments to function call}}
res|=__builtin_arm_stlex(42,(constchar*)addr);// expected-warning {{passing 'const char *' to parameter of type 'volatile char *' discards qualifiers}}
res|=__builtin_arm_stlex(var,(structSimple*)addr);// expected-error {{address argument to atomic builtin must be a pointer to}}
res|=__builtin_arm_stlex(var,(structSimple**)addr);// expected-error {{passing 'struct Simple' to parameter of incompatible type 'struct Simple *'}}
res|=__builtin_arm_stlex(&var,(structSimple**)addr).a;// expected-error {{is not a structure or union}}
__builtin_arm_stlex(1);// expected-error {{too few arguments to function call}}
__builtin_arm_stlex(1,2,3);// expected-error {{too many arguments to function call}}