blob: a7fe1bc66761e7c94472fb72514a82d988ef71de [file] [log] [blame]
/* { dg-do compile } */
int set_role(unsigned char role_id, short m_role)
{
return __sync_bool_compare_and_swap(&m_role, -1, role_id);
}