Home
last modified time | relevance | path

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

/external/clang/test/CXX/special/class.ctor/
Dp5-0x.cpp8 class PrivateDtor { ~PrivateDtor() = default; }; class
129 struct Deleted7e : PrivateDtor {}; // expected-note {{base class 'PrivateDtor' has an inaccessible …
131 struct Deleted7f : virtual PrivateDtor {}; // expected-note {{base class 'PrivateDtor' has an inacc…
133 struct Deleted7g { PrivateDtor a; }; // expected-note {{field 'a' has an inaccessible destructor}}
135 struct Deleted7h { PrivateDtor a = {}; }; // expected-note {{field 'a' has an inaccessible destruct…
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
Dis_constructible.pass.cpp53 struct PrivateDtor { struct
54 PrivateDtor(int) {} in PrivateDtor() function
56 ~PrivateDtor() {} in ~PrivateDtor() argument
225 test_is_constructible<PrivateDtor&, PrivateDtor&>(); in main()
226 test_is_not_constructible<PrivateDtor, int>(); in main()
/external/clang/test/SemaCXX/
Dcompound-literal.cpp69 struct PrivateDtor { struct
72 ~PrivateDtor(); // expected-note {{declared private here}}
76 …(void)(PrivateDtor){1, 2}; // expected-error {{temporary of type 'brace_initializers::PrivateDtor'… in testPrivateDtor() argument