OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:IntBitfield
(Results
1 - 2
of
2
) sorted by null
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
p5-0x.cpp
205
struct
IntBitfield
{
216
int & ir1 = (lvalue<
IntBitfield
>().i); // expected-error{{non-const reference cannot bind to bit-field 'i'}}
217
int & ir2 = (xvalue<
IntBitfield
>().i); // expected-error{{non-const lvalue reference to type 'int' cannot bind to a temporary of type 'int'}}
218
int && ir3 = (xvalue<
IntBitfield
>().i); // no-warning
219
int && ir4 = move(lvalue<
IntBitfield
>()).i; // no-warning
221
volatile int & vir1 = (lvalue<
IntBitfield
>().i); // expected-error{{non-const reference cannot bind to bit-field 'i'}}
222
volatile int & vir2 = (xvalue<
IntBitfield
>().i); // expected-error{{volatile lvalue reference to type 'volatile int' cannot bind to a temporary of type 'int'}}
223
volatile int && vir3 = (xvalue<
IntBitfield
>().i); // no-warning
224
volatile int && vir4 = move(lvalue<
IntBitfield
>()).i; // no-warning
226
const int & cir1 = (lvalue<
IntBitfield
>().i); // no-warnin
[
all
...]
p5-var.cpp
108
struct
IntBitfield
{
112
void test_bitfield(
IntBitfield
ib) {
Completed in 63 milliseconds