Searched refs:PrivateDtor (Results 1 – 3 of 3) sorted by relevance
8 class PrivateDtor { ~PrivateDtor() = default; }; class129 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…
53 struct PrivateDtor { struct54 PrivateDtor(int) {} in PrivateDtor() function56 ~PrivateDtor() {} in ~PrivateDtor() argument225 test_is_constructible<PrivateDtor&, PrivateDtor&>(); in main()226 test_is_not_constructible<PrivateDtor, int>(); in main()
69 struct PrivateDtor { struct72 ~PrivateDtor(); // expected-note {{declared private here}}76 …(void)(PrivateDtor){1, 2}; // expected-error {{temporary of type 'brace_initializers::PrivateDtor'… in testPrivateDtor() argument