Home | History | Annotate | Download | only in except.spec

Lines Matching refs:Incomplete

5 struct Incomplete; // expected-note 3 {{forward declaration}}
7 // Exception spec must not have incomplete types, or pointers to them, except
9 void ic1() throw(void); // expected-error {{incomplete type 'void' is not allowed in exception specification}}
10 void ic2() throw(Incomplete); // expected-error {{incomplete type 'Incomplete' is not allowed in exception specification}}
12 void ic4() throw(Incomplete*); // expected-error {{pointer to incomplete type 'Incomplete' is not allowed in exception specification}}
13 void ic5() throw(Incomplete&); // expected-error {{reference to incomplete type 'Incomplete' is not allowed in exception specification}}