OSDN Git Service

PR c++/46538
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / eh / spec9.C
1 // PR c++/15745
2 // { dg-do run }
3
4 typedef int IntArray[10];
5 IntArray i;
6
7 void test_array() throw (IntArray)
8 {
9   throw i;
10 }
11
12 int main ()
13 {
14   try
15     {
16       test_array();
17     }
18   catch (IntArray) {}
19 }