Searched refs:throw (Results 1 - 25 of 665) sorted by relevance

1234567891011>>

/haiku-buildtools/gcc/gcc/testsuite/g++.dg/other/
H A Derror32.C6 if (throw 0) // { dg-error "could not convert .\\<throw-expression\\>. from .void. to .bool." }
H A Derror3.C1 // Test for proper error message formatting; the throw() should go inside
4 void (*g() throw())(); // { dg-error "g\\(\\) throw" "" }
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Deh20.C6 throw 1;
H A Deh30.C4 main() { throw 1; }
H A Deh4.C5 throw 1;
H A Deh7.C6 throw 1 | 2;
H A Deh9.C4 main() throw () { }
H A Deh15.C5 A() throw (int);
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ubsan/
H A Dpr59415.C7 throw 0;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/eh/
H A Dspec1.C4 void f () throw ();
5 void (&fp)() throw () = f;
H A Dspec2.C5 typedef void f1 (void) throw (int); // { dg-error "exception" }
6 typedef void (*f2) (void) throw (int); // { dg-error "exception" }
7 typedef void (S::*f3) (void) throw (int); // { dg-error "exception" }
9 void (*f4) (void) throw (int);
10 void (S::*f5) (void) throw (int);
H A Dcrash1.C4 throw 1;
H A Dcatch4.C6 try { throw; }
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/lambda/
H A Dlambda-eh2.C10 std::set_unexpected( []{ throw 0; } );
13 []() throw( int ) { throw nullptr; }();
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/compat/eh/
H A Dunexpected1_y.C9 throw;
13 throw Two ();
18 doit () throw (Two)
20 throw One ();
H A Dspec3_y.C5 void func() throw (B,A)
7 throw A();
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ext/
H A Dfixed2.C6 throw 0r; // { dg-error "not supported" }
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/lto/
H A D20081109_1.C3 throw 10;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/tm/
H A Dpr46300.C6 throw 5;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/parse/
H A Dcrash33.C7 throw;
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.eh/
H A Dspec5.C3 extern void *f(unsigned int k) throw();
H A Dthrow1.C3 void athrow(const int & e) throw(int)
5 throw e;
H A Dspec6.C6 // Determine that throw specifiers are checked correctly.
11 void fn1() throw(X); // { dg-error "" } invalid use of undefined type
12 void fn2() throw(X *); // { dg-error "" } invalid use of undefined type
13 void fn3() throw(X &); // { dg-error "" } invalid use of undefined tyoe
14 void fn4() throw(void); // { dg-error "" } invalid use of void expression
15 void fn5() throw(void &); // { dg-error "" } invalid type // ERROR - invalid use of void
17 void fn6() throw(void *); // ok -- pointer to void
18 void fn7() throw(void const *); // ok -- pointer to cv void
20 template<class T> void fny() throw(T); // ok (so far)
21 template<> void fny<int>() throw(in
[all...]
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.robertl/
H A Deb123.C5 void writeNote() throw( int )
9 catch( int ){ throw; }
H A Deb31.C6 throw 1;
9 throw;
13 throw;

Completed in 218 milliseconds

1234567891011>>