Home
last modified time | relevance | path

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

/external/llvm-project/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
Dp1.cpp10 struct notlit { // expected-note {{not literal because}} struct
11 notlit() {} in notlit() argument
30 constexpr notlit nl1; // expected-error {{constexpr variable cannot have non-literal type 'const no…
95 template <> notlit ft(notlit nl) { return nl; } in ft()
99 template <> notlit S::f() const { return notlit(); } in f()
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
Dp1.cpp5 struct notlit { // expected-note {{not literal because}} struct
6 notlit() {} in notlit() argument
25 constexpr notlit nl1; // expected-error {{constexpr variable cannot have non-literal type 'const no…
87 template <> notlit ft(notlit nl) { return nl; } in ft()
91 template <> notlit S::f() const { return notlit(); } in f()