summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/compat/eh/filter1_y.C
blob: 48de0877d548bfdc874b02fc3d04e8873cd8dccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "filter1.h"

struct e1 {};
struct e2 {};

void
ex_test ()
{
  a aa;
  try
    {
      throw e1 ();
    }
  catch (e2 &)
    {
    }
}