Searched defs:NonLiteral (Results 1 – 5 of 5) sorted by relevance
11 struct NonLiteral { struct12 NonLiteral() {} in NonLiteral() argument13 NonLiteral(int) {} // expected-note 2{{here}} in NonLiteral() argument14 operator int() const { return 0; } in operator int()
11 struct NonLiteral { // expected-note 2{{no constexpr constructors}} struct12 NonLiteral() {} in NonLiteral() function13 NonLiteral(int) {} in NonLiteral() function
3 struct NonLiteral { NonLiteral(); }; struct85 constexpr int f(CtorArg<NonLiteral>) { return 0; } // ok, ctor is still constexpr in f()118 constexpr int f(MemberType<NonLiteral>) { return 0; } // expected-error {{not a literal type}} in f()
41 struct NonLiteral { NonLiteral(); }; struct