Lines Matching refs:three_bits_signed
7 enum ThreeBitsSigned { Lo4 = -4, Hi4 = 3 } three_bits_signed; variable
14 int three_bits_signed : 3; // expected-note 1 {{type unsigned}} member
29 …f.two_bits = three_bits_signed; // expected-warning {{negative enumerators}} expected-war… in f()
35 f.two_bits_signed = three_bits_signed; // expected-warning {{not wide enough}} in f()
40 f.three_bits = three_bits_signed; // expected-warning {{negative enumerators}} in f()
42 f.three_bits_signed = two_bits; in f()
43 f.three_bits_signed = two_bits_signed; in f()
44 f.three_bits_signed = three_bits; // expected-warning {{needs an extra bit}} in f()
45 f.three_bits_signed = three_bits_signed; in f()
57 f.two_bits = (unsigned)three_bits_signed; in f()
58 f.two_bits = static_cast<unsigned>(three_bits_signed); in f()