Searched refs:ConstCopyOnly (Results 1 – 2 of 2) sorted by relevance
17 // Both ConstCopyOnly and NonConstCopyOnly are21 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}}
427 struct ConstCopyOnly { struct428 ConstCopyOnly();429 ConstCopyOnly(ConstCopyOnly &) = delete; // cxx98-note {{marked deleted here}}430 ConstCopyOnly(const ConstCopyOnly &);432 ConstCopyOnly t1() { in t1()433 ConstCopyOnly x; in t1()