summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/compat/eh/template1.h
blob: 93999a11d49e5a49a265bf2a065ca4e0650ed5f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class A {};

template <class T>
struct B
{
  typedef A E;
};

template <class T>
struct C
{
  typedef B<T> D;
  typedef typename D::E E;
  void f() throw(E);
};