Searched refs:NonTrivDtor (Results 1 – 8 of 8) sorted by relevance
3 struct NonTrivDtor { struct4 ~NonTrivDtor();19 …NonTrivDtor n; // expected-note {{destructor of 'A1' is implicitly deleted because variant field '…25 NonTrivDtor n; // expected-note {{because variant field 'n' has a non-trivial destructor}}31 NonTrivDtor n[3]; // expected-note {{because variant field 'n' has a non-trivial destructor}}37 NonTrivDtor n[3]; // expected-note {{because variant field 'n' has a non-trivial destructor}}
87 struct NonTrivDtor { ~NonTrivDtor(); }; struct91 …NonTrivDtor ntd[]; // expected-error {{flexible array member 'ntd' of type 'NonTrivDtor []' with n…94 ntd[i-1].~NonTrivDtor(); in ~FlexNonTrivDtor()
238 struct NonTrivDtor { struct239 ~NonTrivDtor(); // expected-note 2{{user-provided destructor}}244 …NonTrivDtor ntd; // expected-warning {{union member 'ntd' with a non-trivial destructor is incompa…250 …NonTrivDtor ntd; // expected-warning {{anonymous struct member 'ntd' with a non-trivial destructor…
92 struct NonTrivDtor { ~NonTrivDtor(); }; struct96 …NonTrivDtor ntd[]; // expected-error {{flexible array member 'ntd' of type 'NonTrivDtor []' with n…99 ntd[i-1].~NonTrivDtor(); in ~FlexNonTrivDtor()
246 struct NonTrivDtor { struct247 ~NonTrivDtor(); // expected-note 2{{user-provided destructor}}252 …NonTrivDtor ntd; // expected-warning {{union member 'ntd' with a non-trivial destructor is incompa…258 …NonTrivDtor ntd; // expected-warning {{anonymous struct member 'ntd' with a non-trivial destructor…
44 struct NonTrivDtor { struct45 constexpr NonTrivDtor();46 …virtual ~NonTrivDtor() = default; // expected-note {{has a non-trivial destructor}} expected-note …48 constexpr int f(NonTrivDtor) { return 0; } // expected-error {{'NonTrivDtor' is not a literal type}} in f() argument