If a range is missing, assume the input address is mapped.
[external/binutils.git] / gold / testsuite / eh_test_b.cc
1 #include <iostream>
2 #include <cstdlib>
3
4 void
5 foo()
6 {
7 }
8
9 int
10 main()
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 }