Searched defs:notlit (Results 1 - 1 of 1) sorted by relevance

/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp1.cpp3 struct notlit { // expected-note {{not literal because}} struct
4 notlit() {} function in struct:notlit
23 constexpr notlit nl1; // expected-error {{constexpr variable cannot have non-literal type 'const notlit'}}
78 template <> notlit ft(notlit nl) { return nl; }
82 template <> notlit S::f() const { return notlit(); }

Completed in 227 milliseconds