Home
last modified time | relevance | path

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

/external/clang/test/SemaCXX/
Dcxx0x-delegating-ctors.cpp45 struct deleted_dtor { struct
46 …~deleted_dtor() = delete; // expected-note{{'~deleted_dtor' has been explicitly marked deleted her…
47 deleted_dtor();
48 deleted_dtor(int) : deleted_dtor() // expected-error{{attempt to use a deleted function}} in deleted_dtor() function
Dcxx0x-nontrivial-union.cpp58 struct deleted_dtor { struct
59 deleted_dtor(int n, char c) : n(n), c(c) {} in deleted_dtor() function
62 ~deleted_dtor() = delete;
65 disable_dtor<deleted_dtor> dd(4, 'x');