aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.pt/nontype2.C
blob: ee233f28b4220acc59eb129e346e596ea30184ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// { dg-do assemble  }

enum E { };

template <const E* ep>
struct S1
{
};


struct S2
{
  static E es[1];
};


struct S3
{
  typedef S1<S2::es> S3_Type;
};