Automatic date update in version.in
[deliverable/binutils-gdb.git] / gold / testsuite / eh_test_b.cc
CommitLineData
cfbf0e3c
RÁE
1#include <iostream>
2#include <cstdlib>
3
4void
5foo()
6{
7}
8
9int
10main()
11{
12 try
13 {
14 throw(1);
15 }
16 catch(int)
17 {
18 std::cout << "caught" << std::endl;
19 exit(0);
20 }
21 std::cout << "failed" << std::endl;
22 exit(1);
23}
This page took 0.057806 seconds and 4 git commands to generate.