HomeSort by relevance Sort by last modified time
    Searched refs:PrivateDtor (Results 1 - 2 of 2) sorted by null

  /external/clang/test/SemaCXX/
compound-literal.cpp 69 struct PrivateDtor {
72 ~PrivateDtor(); // expected-note {{declared private here}}
76 (void)(PrivateDtor){1, 2}; // expected-error {{temporary of type 'brace_initializers::PrivateDtor' has private destructor}}
  /external/clang/test/CXX/special/class.ctor/
p5-0x.cpp 8 class PrivateDtor { ~PrivateDtor() = default; };
129 struct Deleted7e : PrivateDtor {}; // expected-note {{base class 'PrivateDtor' has an inaccessible destructor}}
131 struct Deleted7f : virtual PrivateDtor {}; // expected-note {{base class 'PrivateDtor' has an inaccessible destructor}}
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 destructor}}

Completed in 812 milliseconds