]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/gdb.hp/exception.cc
1 // Test file for exception handling support.
13 extern "C" int bar (int k
, unsigned long eharg
, int flag
);
15 int bar (int k
, unsigned long eharg
, int flag
)
17 cout
<< "k is " << k
<< " eharg is " << eharg
<< " flag is " << flag
<< endl
;
29 cout
<< "Got an except " << x
<< endl
;
37 cout
<< "Got an except " << x
<< endl
;
42 cout
<< "Got an except (rethrown) " << y
<< endl
;