Import zlib 1.2.8 with local change merged in.
[deliverable/binutils-gdb.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 }
This page took 0.029345 seconds and 4 git commands to generate.