aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/g++.dg/template/union2.C
blob: 25f1e086f267b212c59886eefe5d7d6940b66f0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR c++/40557 */
/* { dg-do compile } */

struct A
{
  typedef int X;
};

template<int> union B
{
  A::X x;
};