summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/eh1.C
blob: 134a0e7a665dd9706ea1f28b41de1f79a5af8400 (plain)
1
2
3
4
5
6
template <class T>
void foo()
{
  try {}
  catch(T e) {}
}