Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5-0x.cpp205 struct IntBitfield { struct
218 int && ir3 = (xvalue<IntBitfield>().i); // no-warning in test()
219 int && ir4 = move(lvalue<IntBitfield>()).i; // no-warning 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()
227 const int & cir2 = (xvalue<IntBitfield>().i); // no-warning in test()
228 const int && cir3 = (xvalue<IntBitfield>().i); // no-warning in test()
229 const int && cir4 = move(lvalue<IntBitfield>()).i; // no-warning in test()
233 const volatile int && cvir3 = (xvalue<IntBitfield>().i); // no-warning in test()
[all …]
H A Dp5-var.cpp108 struct IntBitfield { struct
112 void test_bitfield(IntBitfield ib) { in test_bitfield() argument