Home
last modified time | relevance | path

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

/external/clang/test/SemaCXX/
Dcxx0x-cursory-default-delete.cpp3 struct non_copiable { struct
4 non_copiable(const non_copiable&) = delete; // expected-note {{marked deleted here}}
5 non_copiable& operator = (const non_copiable&) = delete; // expected-note {{explicitly deleted}}
6 non_copiable() = default;
21 non_copiable nc; in fn1()
22 non_copiable nc2 = nc; // expected-error {{deleted constructor}} in fn1()