summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.eh/tmpl5.C
blob: 4f9580bcb9f2900739a778f05c08089e3bca328e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }
// Origin: Mark Mitchell <mark@codesourcery.com>

template <class T = int>
struct S
{
  void f ()
    {
      try {
      } catch (int) {
      }
    }
};