summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/compat/eh/spec3_x.C
blob: b8e5fbeaa1e5c2a41226eb32354b107c1342a2a1 (plain)
1
2
3
4
5
6
7
8
9
#include "spec3.h"

extern void func () throw (B,A);

void spec3_x (void)
{
  try {	func(); }
  catch (A& a) { }
}