Home
last modified time | relevance | path

Searched refs:IntBitfield (Results 1 – 4 of 4) sorted by relevance

/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
Dp5-0x.cpp205 struct IntBitfield { struct
216 …int & ir1 = (lvalue<IntBitfield>().i); // expected-error{{non-const reference cannot bind to bit-f… in test()
217 …int & ir2 = (xvalue<IntBitfield>().i); // expected-error{{non-const lvalue reference to type 'int'… in test()
218 int && ir3 = (xvalue<IntBitfield>().i); // no-warning in test()
219 int && ir4 = move(lvalue<IntBitfield>()).i; // no-warning in test()
221 …volatile int & vir1 = (lvalue<IntBitfield>().i); // expected-error{{non-const reference cannot bin… in test()
222 …volatile int & vir2 = (xvalue<IntBitfield>().i); // expected-error{{volatile lvalue reference to t… in test()
223 volatile int && vir3 = (xvalue<IntBitfield>().i); // no-warning in test()
224 volatile int && vir4 = move(lvalue<IntBitfield>()).i; // no-warning in test()
226 const int & cir1 = (lvalue<IntBitfield>().i); // no-warning in test()
[all …]
Dp5-var.cpp108 struct IntBitfield { struct
112 void test_bitfield(IntBitfield ib) { in test_bitfield() argument
/external/llvm-project/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
Dp5-0x.cpp205 struct IntBitfield { struct
216 …int & ir1 = (lvalue<IntBitfield>().i); // expected-error{{non-const reference cannot bind to bit-f… in test()
217 …int & ir2 = (xvalue<IntBitfield>().i); // expected-error{{non-const lvalue reference to type 'int'… in test()
218 int && ir3 = (xvalue<IntBitfield>().i); // no-warning in test()
219 int && ir4 = move(lvalue<IntBitfield>()).i; // no-warning in test()
221 …volatile int & vir1 = (lvalue<IntBitfield>().i); // expected-error{{non-const reference cannot bin… in test()
222 …volatile int & vir2 = (xvalue<IntBitfield>().i); // expected-error{{volatile lvalue reference to t… in test()
223 volatile int && vir3 = (xvalue<IntBitfield>().i); // no-warning in test()
224 volatile int && vir4 = move(lvalue<IntBitfield>()).i; // no-warning in test()
226 const int & cir1 = (lvalue<IntBitfield>().i); // no-warning in test()
[all …]
Dp5-var.cpp108 struct IntBitfield { struct
112 void test_bitfield(IntBitfield ib) { in test_bitfield() argument