Searched defs:TestCtor (Results 1 – 2 of 2) sorted by relevance
290 struct TestCtor { struct291 constexpr TestCtor(int x) : value(x) {} in TestCtor() argument295 ATTR TestCtor<NotC> t(42); // expected-error {{variable does not have a constant initializer}} argument321 struct TestCtor { struct322 constexpr TestCtor(int x) : value(x) {} // expected-note 2 {{non-constexpr constructor}} in TestCtor() function335 constexpr TestCtor<NotC> inval_constexpr(42); // expected-error {{must be initialized by a constant… argument
373 struct TestCtor { struct378 constexpr TestCtor(int, U u = U::current()) : ctor_info(u) {} in TestCtor() function384 …static_assert(is_equal(Default.info.function(), "test_func::TestCtor<>::TestCtor() [T = std::sourc… in ctor_tests()