Home
last modified time | relevance | path

Searched refs:three_bits (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/test/SemaCXX/
Dwarn-bitfield-enum-conversion.cpp6 enum ThreeBits { Hi3 = 7 } three_bits; variable
13 unsigned three_bits : 3; // expected-note 2 {{type signed}} member
28 f.two_bits = three_bits; // expected-warning {{not wide enough}} in f()
34 f.two_bits_signed = three_bits; // expected-warning {{not wide enough}} in f()
37 f.three_bits = two_bits; in f()
38 f.three_bits = two_bits_signed; // expected-warning {{negative enumerators}} in f()
39 f.three_bits = three_bits; in f()
40 f.three_bits = three_bits_signed; // expected-warning {{negative enumerators}} in f()
44 f.three_bits_signed = three_bits; // expected-warning {{needs an extra bit}} in f()
53 f.three_bits_enum = three_bits; in f()
[all …]
/external/crosvm/bit_field/tests/
Dtest_enum.rs30 three_bits: ThreeBits, field