Home
last modified time | relevance | path

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

/external/clang/test/CXX/expr/expr.post/expr.const.cast/
Dp1-0x.cpp32 volatile unsigned ubf : 4; member
40 …unsigned &t0 = const_cast<unsigned&>(a.ubf); // expected-error {{const_cast from bit-field lvalue … in test()
41 …unsigned &t1 = const_cast<unsigned&>(a.foo(), a.ubf); // expected-error {{const_cast from bit-fiel… in test()
42 …unsigned &t2 = const_cast<unsigned&>(a.pred() ? a.ubf : a.ubf); // expected-error {{const_cast fro… in test()
43 …unsigned &t3 = const_cast<unsigned&>(a.pred() ? a.ubf : a.uv); // expected-error {{const_cast from… in test()
44 …unsigned &t4 = const_cast<unsigned&>(a.pred() ? a.ubf : a.sv); // expected-error {{const_cast from… in test()