Home
last modified time | relevance | path

Searched refs:bitY (Results 1 – 3 of 3) sorted by relevance

/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
Dp5.cpp45 unsigned bitY : 4; // expected-note {{bit-field is declared here}} member
56 …unsigned &t4 = (a->var ? a->bitX : a->bitY); // expected-error {{non-const reference cannot bind t… in test()
59 …unsigned &t7 = (a->var ? a->var : a->bitY); // expected-error {{non-const reference cannot bind to… in test()
61 …unsigned &t9 = (a->bitY += 3); // expected-error {{non-const reference cannot bind to bit-field 'b… in test()
/external/clang/test/CXX/expr/expr.unary/expr.sizeof/
Dp1.cpp5 unsigned bitY : 4; member
16 …x = sizeof(a->var ? a->bitX : a->bitY); // expected-error {{invalid application of 'sizeof' to bit… in test()
19 x = sizeof(a->bitY += 3); // expected-error {{invalid application of 'sizeof' to bit-field}} in test()
/external/clang/test/Sema/
Dbitfield.c49 unsigned bitY : 4; member
54 (void) sizeof((t->bitY)); // expected-error {{invalid application of 'sizeof' to bit-field}} in test4()
58 (void) sizeof(t->var ? t->bitX : t->bitY); // not a bitfield designator in C in test4()