Home
last modified time | relevance | path

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

/external/clang/test/SemaCXX/
Dconstant-expression-cxx11.cpp781 constexpr Base *nullB = 42 - 6 * 7; // expected-error {{cannot initialize a variable of type 'Class… variable
783 static_assert((Bottom*)nullB == 0, "");
784 static_assert((Derived*)nullB == 0, "");
785 static_assert((void*)(Bottom*)nullB == (void*)(Derived*)nullB, "");