Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dblock-capture.mm17 // Both ConstCopyOnly and NonConstCopyOnly are
21 struct ConstCopyOnly {
22 ConstCopyOnly();
23 ConstCopyOnly(ConstCopyOnly &) = delete; // cxx98-note {{marked deleted here}}
24 ConstCopyOnly(const ConstCopyOnly &);
26 TEST(ConstCopyOnly); // cxx98-error {{call to deleted constructor}}
/llvm-project-15.0.7/clang/test/CXX/class/class.init/class.copy.elision/
H A Dp3.cpp427 struct ConstCopyOnly { struct
428 ConstCopyOnly();
429 ConstCopyOnly(ConstCopyOnly &) = delete; // cxx98-note {{marked deleted here}}
430 ConstCopyOnly(const ConstCopyOnly &);
432 ConstCopyOnly t1() { in t1()
433 ConstCopyOnly x; in t1()