Home | History | Annotate | Download | only in SemaCXX

Lines Matching refs:structure

6 struct structure { int m; };
25 const int structure::*psi = 0;
26 (void)reinterpret_cast<const int structure::*>(psi);
28 structure s;
29 (void)reinterpret_cast<structure>(s); // expected-error {{reinterpret_cast from 'structure' to 'structure' is not allowed}}
50 structure *p3 = reinterpret_cast<structure*>(p2);
92 const int structure::*psi = 0;
93 (void)reinterpret_cast<const float structure::*>(psi);
94 (void)reinterpret_cast<int structure::*>(psi); // expected-error {{reinterpret_cast from 'const int structure::*' to 'int structure::*' casts away qualifiers}}
96 void (structure::*psf)() = 0;
97 (void)reinterpret_cast<int (structure::*)()>(psf);
99 (void)reinterpret_cast<void (structure::*)()>(psi); // expected-error {{reinterpret_cast from 'const int structure::*' to 'void (structure::*)()' is not allowed}}
100 (void)reinterpret_cast<int structure::*>(psf); // expected-error {{reinterpret_cast from 'void (structure::*)()' to 'int structure::*' is not allowed}}
104 (void)reinterpret_cast<void (structure::*)()>(0); // expected-error {{reinterpret_cast from 'int' to 'void (structure::*)()' is not allowed}}
105 (void)reinterpret_cast<int structure::*>(0); // expected-error {{reinterpret_cast from 'int' to 'int structure::*' is not allowed}}