Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dcxx1z-class-template-argument-deduction.cpp501 struct TestExplicitCtor { struct
502 TestExplicitCtor(T) {} in TestExplicitCtor() function
505 explicit TestExplicitCtor(TestExplicitCtor<T> const&) -> TestExplicitCtor<void>;
506 TestExplicitCtor<int> ce1{42};
507 TestExplicitCtor ce2 = ce1;
508 static_assert(__is_same(decltype(ce2), TestExplicitCtor<int>), "");