Lines Matching defs:TestCtor
446 struct TestCtor {
449 TestCtor() = default;
451 constexpr TestCtor(int, U u = U::current()) : ctor_info(u) {}
454 constexpr TestCtor<> Default;
455 constexpr TestCtor<> Template{42};
457 static_assert(is_equal(Default.info.function(), "test_func::TestCtor<>::TestCtor() [T = std::source_location]"));
459 static_assert(is_equal(Template.info.function(), "test_func::TestCtor<>::TestCtor(int, U) [T = std::source_location, U = std::source_location]"));
562 struct TestCtor {
565 TestCtor() = default;
567 constexpr TestCtor(int, F f = __builtin_FUNCSIG()) : ctor_funcsig(f) {}
570 constexpr TestCtor<> Template{42};
571 static_assert(is_equal(Template.funcsig, "__cdecl test_funcsig::TestCtor<>::TestCtor(int, F) [T = const char *, F = const char *]"));