summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/enum4.C
blob: 6e9f1e090b6cb2b38f227a002e0a1438c95f4f32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do assemble  }

template <class T>
struct U
{
  T mT;
};
 
template <class H>
struct M
{
  enum FLAG {On, Off};
  U<FLAG> mUF;
};

M<char> gm;